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
~107 People Reached
Favorite Forums
Favorite Tags
c x 2
Member Avatar for sharpcon

In the code snippet: [CODE=C] int Z; boolean ParsedOk; ParsedOk = sscanf( CommandLine, "%i", &Z ) == 1; [/CODE] I find that a successful parse occurs for both valid numbers, but also for numbers that have trailing rubbish, such as '3Q', etc. How can I detect (and reject) such malformed …

Member Avatar for Aia
0
107