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.
1 Posted Topic
Re: [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 == … |
The End.