All Questions
3 questions
5
votes
1
answer
104
views
Architecture for manager that gets shared among different components
It started with a simple log manager. Then I wanted to implement more features, for example printing the name of the component that send a message. Later on, I can think of giving each component that ...
1
vote
1
answer
341
views
Text-Based Simulator with many commands
The following is an excerpt of a mostly text-based simulator of the iRobot Roomba robot vacuum. I made a class called Roomba that handles everything the roomba does. For those familiar with QT; There ...
3
votes
2
answers
779
views
Image loader/writer design (no API, pure C++ on Windows)
I have an image loader, now only for bitmaps. I'm a little confused because I want to split my code to different classes, one for writing a BMP data to a file (WRITER), one for loading BMP data from ...