The most common compiler in UNIX is the Gnu Compiler Collection, gcc. There are two popular IDEs I know of, Anjuta and KDevelop. Then there are the advanced text editors, which are also often used:...
You have to emulate it. 64-bit operations are supported on some machines, emulated by the compiler on others. 32-bit operations are supported nearly everywhere. 24 bits are an odd number of bytes,...
Uncomment the #pragma and see if the problem goes away. To me it looks very much like such a problem. You can also output sizeof(BBB) with WORD and DWORD. If the DWORD version is 2 bytes larger than...
The third is the best of course.
The first duplicates the code and does the unnecessary second check even if the first succeeded.
The second doesn't do the check, but still duplicates the code....
Keeping track of references is something that is done for instance in Java. There you simply cannot explicitly delete objects, the garbage collector takes care of this. I don't think it makes sense...
The database though has strictly defined areas where it can search for referenced or referencing objects. C++ cannot, you can't search the whole memory or even stack for pointers. It would require...
BTW, on kas' first post, you can have as much whitespace between the :: operator and its two operands as you want. You can have none, one on each side, one on one side, have the :: on its own line,...
I think that for a while the Dinkumware version of the STL provided the implementation of basic_*stream in .cpp file, using the exported templates feature of MSC++. This meant that only the char and...