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 #107.41K
~253 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for PeterX

Hi! I want to learn C language. my question is: how dose this while loop wok. [code] while((c=getChar()) !=EOF) if(c>'0' && c<'9') nbr++; [/code] How EOF(end of file ) works? EOF=-1; How can I stop the program? when I write (-1) I can not stop the program.

Member Avatar for N1GHTS
0
253