User: johnyxc

  • Public profile

User profile: johnyxc

User info
User name:johnyxc
Name:Johnyxc
Location:Chengdu, Sichuan, China
Bio:I like programming
History
Joined:
Number of posts:4
Latest posts:

Starnge validation problem with float and double
if you want to calculate precisely, string instead of double, but it's more complex :) good luck!

How to write a "if x is a int" type of statement?
morando's answer is quite well, but your compiler shorld support C++ 11, another choice is using Boo...

Starnge validation problem with float and double
decimal in computer is discrete, it can not be stored accurately.

return to start
Just modify 'if(y)' to 'if(y == 'Y')'

This user does not accept Private Messages