Home
C / ANSI-C
assert.h
Console
ctype.h
Data Structure Algorithm
Data Type
Development
File
Function
Language Basics
Macro Preprocessor
Math
math.h
Memory
Pointer
setjmp.h
signal.h
Small Application
stdio.h
stdlib.h
String
string.h
Structure
time.h
wctype.h
Console Read Char « Console « C / ANSI-C
C / ANSI-C
Console
Console Read Char
1.
Get the next character from stdin: how to use getchar
2.
Read a char from console: getchar()
3.
Read a char and check it value
4.
Use getchar() in for loop
5.
pause until a key is pressed
6.
Get char from console and display it: getche()
7.
Get char from the console