User profile: squarehead

User info
User name:squarehead
History
Joined:
Number of posts:24
Latest posts:

Exception handling and input from std::cin
std::cin >> number; If the user writes a character instead of an integer, does that mean that the c...

What is the best compiler?
I didn't know there were special compilers for noobs. I am currently using the open-source IDE "Int...

Input Validation in for loop
You need to initialize [tt]total = 0;[/tt]. Otherwise it seems to work fine. I would perhaps put the...

Exception handling and input from std::cin
So, for my first attempt at exception handling I put this together. [code]#include <iostream> #i...

reinterpret_cast
shadowCODE, you are converting the [tt]float[/tt] to [tt]unsigned int[/tt] and in the process comple...