- #1
Hypercase
- 62
- 0
I,m writting code in C/C++ and when i validate my enteries(ensure they are numeric) i use !cin.good().
Also how do i clear the buffer after an invalid entry?
I usually use cin.seekg(0);cin.clear(); How do they work?
Is there a better way?
How do i find out how much processing power and memmory my prog uses as it runs?
-01000011 01101000 01100101 01100101 01110010 01110011.
Also how do i clear the buffer after an invalid entry?
I usually use cin.seekg(0);cin.clear(); How do they work?
Is there a better way?
How do i find out how much processing power and memmory my prog uses as it runs?
-01000011 01101000 01100101 01100101 01110010 01110011.