Created
February 20, 2012 18:56
-
-
Save matael/1870714 to your computer and use it in GitHub Desktop.
help qgi
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define N // tu mets la taille qu'il te faut | |
| char courant; | |
| char lecture[N]; | |
| i = 0; | |
| courant = getchar(); | |
| while (courant != EOF && i < N) { | |
| lecture[i] = courant; | |
| i++; | |
| courant = getchar(); | |
| } | |
| // traitement de lecture (une chaine quoi) | |
| for (i=0; i<N; i++){lecture[i]='0';} | |
| i=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment