You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
457 B
25 lines
457 B
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
|
|
#ifdef __linux__
|
|
#define clean system("clear");
|
|
|
|
/*
|
|
#define color system("tempPS1=&PS1"); \
|
|
system("PS1='\\e'")
|
|
*/
|
|
#endif
|
|
|
|
#ifdef _WIN32
|
|
#define clean system("cls");
|
|
#define color system("color 70");
|
|
#endif
|
|
|
|
#ifndef wait
|
|
#define wait printf("\nAppuyez sur entree pour continuer...");\
|
|
scanf("%*c%c", &trash);
|
|
#endif
|
|
|
|
#ifndef _rep_
|
|
#define _rep_ scanf(" %c", &rep);
|
|
#endif |