User profile: indikau

User info
User name:indikau
Name:Indika Rajapaksha
Location:Colombo
History
Joined:
Number of posts:7
Latest posts:

Switch case help
[code]break;[/code] statement at end of each case causes jump out from the switch. If you really wan...

c++ other date format?
Use the following reference. [code]strftime[/code] has greater control to format date string. It all...

Erasing map elements in a while loop
No, I don't use [code]std::string[/code] throughout my program. Hence I don't want to keep it as str...

Erasing map elements in a while loop
Yes, I did the correct way of clearing the char keys of the map (in the very first code). [code]Char...

Erasing map elements in a while loop
Thanks Peter. I'm not using the C++11 yet. I would expect [CODE]ite = map_Keys.erase(ite);[/CODE] wi...