All Questions
8 questions
2
votes
1
answer
147
views
C++: Good approach to handle libxml2 resource management in a wrapper
I try to write a C++ wrapper to a well-known C library, libxml2. In libxml2, an xmlDocPtr represent an XML document and xmlNodePtr represents a node. An xmlDocPtr contains a root xmlNodePtr and every ...
6
votes
6
answers
975
views
How is design using C different from C++?
A employer is looking for C programmers, and I'm told they say that ...
Good C design isn't the same as good C++ design
... and so they're looking for candidates experienced with C and not only C++.
...
10
votes
6
answers
4k
views
Why are people coding "C-style C++"?
In discussions about whether to cast the result of malloc or not when coding C, one common argument is that if you cast the result then you can compile your C code with a C++ compiler.
Why would one ...
4
votes
0
answers
949
views
What are the benefits of an input/output component design?
For the company I work at, all of our projects,
including a new one started last year, are written in C89.
We write for vxWorks (a real time embedded operation system).
Our software runs multi-...
0
votes
2
answers
428
views
Organizing C++ Components [closed]
In my current company we've brought the discussion about how to organize most of our different C++ components considering the following requirements:
There might be interdependencies between ...
5
votes
3
answers
2k
views
How can I effectively manage long-term feature development and short-term bug fixing at the same time?
We have a huge C, and C++ code base. There is a plan to add a new feature into the existing system, but, this should happen only after 3 to 4 months.
So, we are looking for best possible options.
...
2
votes
1
answer
718
views
Design for migrating to Multitenant architecture
We are in a process of redesigning our product code in such a way so as to support multitenancy.
Currently the implementation is such that one product deployment caters to only one customer.
Thus ...
5
votes
6
answers
3k
views
Designing for an algorithm that reports progress
I have an iterative algorithm and I want to print the progress. However, I may also want it not to print any information, or to print it in a different way, or do other logic. In an object oriented ...