Aller au contenu

Mathc complexes/Fichiers c : test01a

Un livre de Wikilivres.


Installer et compiler ce fichier dans votre répertoire de travail.

c00a.c
/* ------------------------------------ */
/*  Save as :   c00a.c                  */
/* ------------------------------------ */
#include "w_a.h"
/* ------------------------------------ */
/* ------------------------------------ */
void X_clrscrn(void)
{
  printf("\n\n\n\n\n\n\n\n\n\n"
         "\n\n\n\n\n\n\n\n\n\n"
         "\n\n\n\n\n\n\n\n\n\n");
}
/* ------------------------------------ */
/* ------------------------------------ */
void X_stop(void)
{
 printf(" Press return to continue. ");
 getchar();
}
/* ------------------------------------ */
/* ------------------------------------ */
int main(void)
{
	clrscrn();
	printf(" Hello word !\n\n");		
	stop();
  
    return 0;
}
/* ------------------------------------ */
/* ------------------------------------ */
Exemple de sortie écran :
 Hello word !

 Press return to continue.