Changes

Jump to: navigation, search

Langage C

665 bytes added, 19:40, 29 July 2015
/* chapter 5 (résumé) */
===== Function: GETC(SDTIN) =====
this function is used to get back a character
 
Here the prototype of the function like we can see it in the stdio.h file : '''int getc(FILE *stream)'''
 
<u>exemple</u>:
'''int''' recup_char;
===== Function GETCHAR() =====
this function is used to get back a character
 
Here the prototype of the function like we can see it in the stdio.h file : '''int getchar()'''
 
<u>exemple</u>:
'''int''' recup_char;
===== Function PUTC(STDOUT) =====
this function is used to place a character in a file or to display this value on the screen.
 
Here the prototype of the function like we can see it in the stdio.h file : '''int putc(int c, FILE *Stream)'''
 
<u>exemple</u>:
'''int''' char_A = 65;
===== Function PUTCHAR() =====
this function is used to place a character in a file or to display this value on the screen.
 
Here the prototype of the function like we can see it in the stdio.h file : '''int putchar(int c)'''
 
<u>exemple</u>:
'''int''' char_A = 65;
'''remark''': this function need just of one arguments
 
===== Function PRINTF() =====
this function allows to dsiplay on the screen some characters, string, numeric value...
 
Here the prototype of the function like we can see it in the stdio.h file : '''int printf(const char *format, ...)'''
 
 
==== Trick ====
952
edits