Conditional member initializationyou can use the ternary operator like so [code]class Thing { public: Thing(const std::strin...
File Input and OutputThere are a huge amount of C++ syntactic errors. Without trying to be rude, you seem to need to pay ...
cin.sync vs cin.ignoreEasy, thanks.
cin.sync vs cin.ignoreFirstly, heres an example of how its being used. [code] std::string stringOne, stringTwo; wh...
Uncertain with a piece of code[code]timeText.str( "" );[/code] That clears the contents (not the state) of the stringstream. [co...