Demo Paper

profThiernesse
1,604 views

Open Source Your Knowledge, Become a Contributor

Technology knowledge has to be shared and made accessible for free. Join the movement.

Create Content

Les paper

Les fonctionnalités :

  • init_paper(nb_lignes,nb_colonnes,taille)
  • move_left()
  • move_right()
  • move_down()
  • move_up()
  • colorize()
  • change_color(rouge,vert,bleu)
  • display_paper()

Demo Paper

Sample paper
#include <stdio.h>
#include <stdlib.h>
#include "paper.h"
int main()
{
init_paper(22,17,10);
colorize();
display_paper();
return 0;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Manage with paper
#include <stdio.h>
#include <stdlib.h>
#include "paper.h"
int main()
{
init_paper(20,20,25);
move_to(0,7);
colorize();
move_right();
change_color(0,155,0);
colorize();
repeat (19) {
move_down();
colorize();
change_color(125,55,10);
} loop;
display_paper();
return 0;
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

#TEST PHP INCLUDE

Déclarer un entier a et un entier b.

PHP - C
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Ecrire la condition pour déterminer si une variable a est paire.

PHP - C
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Ecrire la prototype de la fonction ma_fct

	int a;
	int *b;
	char c;
	int d;
	
	d = ma_fct(a,b,c);
PHP - C
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Open Source Your Knowledge: become a Contributor and help others learn. Create New Content