dujardin stephane
/
duj401_projets
projets de S3 S4 année 21 22
draw.h@0:3cb0bc1eb7fa, 2016-05-09 (annotated)
- Committer:
- dujardin
- Date:
- Mon May 09 12:49:08 2016 +0000
- Revision:
- 0:3cb0bc1eb7fa
- Child:
- 1:95a7e179a181
version TR ?tudiants de S2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dujardin | 0:3cb0bc1eb7fa | 1 | |
dujardin | 0:3cb0bc1eb7fa | 2 | // ici zone declaration variables |
dujardin | 0:3cb0bc1eb7fa | 3 | // le nom des variables doit commencer par un a atiti |
dujardin | 0:3cb0bc1eb7fa | 4 | int atiti = 5; |
dujardin | 0:3cb0bc1eb7fa | 5 | |
dujardin | 0:3cb0bc1eb7fa | 6 | |
dujardin | 0:3cb0bc1eb7fa | 7 | void draw() // a faire en TR |
dujardin | 0:3cb0bc1eb7fa | 8 | { |
dujardin | 0:3cb0bc1eb7fa | 9 | pix(atiti,1,0,0,5); |
dujardin | 0:3cb0bc1eb7fa | 10 | // a faire |
dujardin | 0:3cb0bc1eb7fa | 11 | for ( int tt = 0 ; tt < 32 ; tt++) |
dujardin | 0:3cb0bc1eb7fa | 12 | { |
dujardin | 0:3cb0bc1eb7fa | 13 | pix ( atiti, tt ; 0,5,0 ); |
dujardin | 0:3cb0bc1eb7fa | 14 | } |
dujardin | 0:3cb0bc1eb7fa | 15 | } |