User profile: coder777

User info
User name:coder777
Number of posts:4026
Latest posts:

evaluating an expression of signed and unsigned types
The expression is actually: [code]std::cout << 10 - -42 << std::endl;[/code] which is rather math ...

Recommendations on how to record data
First: better not using a c/c++ keyword (register). Make it more descriptive. Second: Both code sni...

Why does the result differ?
No, the point is the [i]size[/i] of the string. It is required that the buffer is large enough to ho...

Why does the result differ?
[code]MyString MyString::operator+(const MyString &br)[/code] is wrong. [code]temp[/code] contains o...

Function to Print Iterations of a List Not Doing So
Well you should know what happens during assigning stufff:[code]Items::Items(std::string name, std::...