Looking for Reactor Pattern example source code in C++ [closed] - c++

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Just read Douglas R. Schmidt’s paper on the reactor pattern and I'd like to see a good example actually implemented to clear some questions up. I spent some time searching for a fully implemented example but haven't been able to find one. If someone's already implemented this and is willing to share the code that would be greatly appreciated. Or, of course, a link to an example in C++ would be great as well.

You will find working examples of the Reactor pattern implementation in the, freely available, source of the ACE framework, developed by Douglas R. Schmidt: http://www.dre.vanderbilt.edu/~schmidt/ACE.html
In his book "C++ Network Programming, Volume 2: Systematic Reuse with ACE and Frameworks" Douglas R. Schmidt gives detailed explanation of the implementation of the Logger example project (included in ACE), both implemented as a Reactor and Proactor if I remember correctly - but I read the book a few years ago.

Look at Boost.Asio

Related

Programming Problems and Concepts [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I have been studying programming, C++ specifically, for about 6 months and I got in a competition in my school. The teacher said that it will have some programming problems of different difficulties, although I have been working with problems like the ones found on Project Euler, I need different ones not just ones with math. Can anyone suggest any good problems, the more advanced the better. Or some books or articles I can read to improve my programming? I have googled this however answers are not as good as I expected and are really vague. I would really appreciate a solid and clear answer from experienced developers.
Check Herb Sutter's Exceptional C++ book, it has very good challenges. If you've already read it, there are sequels to that one as well, namely More Exceptional C++ and Exceptional C++ Style
The subreddit The Daily programmer post challenges, well, daily.
They are categorized by level, so you can test yourself and see what level are you and even compete with others.
enjoy

Looking for reverse-engineering UML tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a reverse-engineering UML free tool for c++ code.
The old software i'm working on has almost no documentation, and i must add an evolution :s
So an UML diagram would help me a lot.
I downloaded StarUML, but when i do the reverse engineering, i have an issue, it doesn't display all the classes on the diagram, as if it was too small.
I didn't find the solution so i wanted to download another free tool. But doesn't find one.
Thanks for the answers
Adrien
You could always try Doxygen. It won't produce the most beautiful output of all times, but you can force it to generate class diagrams for you.
One of the best tools I've ever used for reverse engineering to create UML diagrams is Visual Paradigm. I've never used it for C++ but for Java and C#.
Try to take a look:
http://www.visual-paradigm.com/support/documents/vpumluserguide/276/277/7253_reverseengin.html

coding mental block, wants inspiration from beautiful coding [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I'm having a coding mental block and wish to draw inspiration from other's coding. Where can I find beautiful coding (elegant, succinct, self-documenting) to refresh my mind. Github can be a place to start but I don't know authors to look for.
Perhaps not what you had in mind, but the book Beautiful Code is certainly worth consideration.
In addition to the other post, I'd add maybe checking out some other languages. You'll find beautiful concepts and new ways to program in Scheme, Haskell, Ocaml, Clojure, Erlang, etc... Some of those languages have features which you can apply to C++, and some of them make really nice examples in their implementation.

Financial library for C/C++ [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Do you know of a good open source financial library written in C (preferably) or C++?
I already looked at Quantlib, which seems too complicated for me, since I just want some basic computations (total cost of credit, all in-cost credit rate...)
Thank you very much!
When programming for financial derivatives, I absolutely loved Bernt Arne Ødegaard's resource here:
http://finance.bi.no/~bernt/gcc_prog/recipes/recipes/node1.html
It probably has what you want, and then some. If it doesn't, I have to agree with James Black.
Try:
http://www.metasystems.no/downloads/index.html
Download the Meta Financial Functions Library Beta 0.0.4
Also take a look at my application which uses both
Financial Recipes in C++ and the Meta Financial Functions Library
to generate option chains for 120 models.
General website:
http://opensourcefinancialmodels.com
GPL3 Source Code:
http://opensourcefinancialmodels.com/optionmatrix.tar.gz
Windows Installer:
http://opensourcefinancialmodels.com/installoptionmatrix.exe

What are some good DirectX resources for a beginner? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm learning DirectX as part of a hobby project. I've been looking for some good online resources for DirectX9 (using C++, if that distinction matters), but haven't found anything that's a) great for a beginner and b) up to date.
Any recommendations?
When I started using DirectX I found this to be the best resource around for basic stuff:
http://www.directxtutorial.com/
When you start reaching an intermediate level they want you to pay a subscription but all the good basic stuff is free. Tutorials are clear and literally step-by-step.
This is website is not bad at all either: http://www.toymaker.info/ - with some good project downloads.
If you have problems the best place to go in my experience is http://www.gamedev.net/ , they have great articles and forums with plenty of so-called gurus.
Toymaker
Triple Buffer
DirectX4VB
32Bits
Introduction to 3D Game Programming with DirectX 9: Not an online resource, but that book was very helpful to me.
There's also the DirecX SDK documentation, which should be your definitive resource.
Gamedev.net is probably a good place to look
CodeProject.com