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.55K
Ranked #4K
~162 People Reached
Favorite Forums
Favorite Tags
c++ x 1

1 Posted Topic

Member Avatar for kylcrow

[quote] Thats what I was really needing. A way to return an R S or P without returning a variable.[/quote] Then considder this small example:[code]#include <stdio.h> void get_ch(char*); void main(){ char ch; get_ch(&ch); printf("%c\n", ch); } void get_ch(char* c){ printf("Please input char: "); fflush(stdout); while (*c = fgetc(stdin)){ if(*c == …

Member Avatar for kylcrow
0
162

The End.