
Appendix C
C/C++ FUNCTIONS
AND
STATEMENTS
H
ere are some of C/C++ available functions and statements.
C STANDARD INPUT/OUTPUT FUNCTIONS
Included in the <stdio.h> header file:
printf(string) – writes formatted output to the screen
scanf(string &address) – scans and formats input from the stream
getchar(void) – gets character
putchar(char) – output character
puts(string) – output a string to the stream
C Console Input/Output Functions
Included in the <conio.h> header file:
clreol(void) – clears to end of line in text window
clrscr(void) – clears the text mode window
cprintf(string) – writes formatted output to the screen
cscanf(string) – scans and formats input ...