GMgKe586q6suSQnyqZLlGCooeWM
Learn To Program
Increase Your Knowlegde and Build Your Skill!
Pages
Home
Me
Search
Monday, March 21, 2011
C - Console I/O
The available for console I/O functions are:
General:
1. printf
2. scanf
Character:
3. putchar -> int putchar(char)
4. getchar -> char getchar()
String:
5. puts(char[])
6. gets(char[])
Example using putchar and getchar:
char a;
while(a != '.'){
a = getchar();
putchar(a);
}
C - Console I/O
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment