Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #55.0K
~144 People Reached
Favorite Forums
Favorite Tags
c++ x 3

1 Posted Topic

Member Avatar for rmbrown09

[CODE]#include <iostream> bool isnumeric(char *str){ for(int i = 0; str[i]; i++) if(!isdigit(str[i])) return 0; return 1; } int main(){ char input[256] = {0}; while(1){ std::cin.getline(input, 256); if(!isnumeric(input)) break; int i = atoi(input); //cool stuff } return 42; }[/CODE]

Member Avatar for dysrhythmia
0
144

The End.