User profile: aruawons

User info
User name:aruawons
History
Joined:
Number of posts:20
Latest posts:

Need help how to output that a number is a whole number
Since i is originally a double, [code](int)i[/code] (called "type casting") converts it to an int by...

Need help how to output that a number is a whole number
Use this predicate [code]if (i == (int)i)[/code].

Getline truncating first character in loop
Get rid of line8.

Skipping input?
Try adding [code]cin.clear();[/code] right before line27.

Skipping input?
Good morning. XD I don't think there can be any residual '\n' character in the string buffer, as it ...

This user does not accept Private Messages

User: aruawons

  • Public profile