Linear Algebra and the C Language/a0e5


Install and compile this file in your working directory.

/* ------------------------------------ */
/*  Save as :   c00a.c                  */
/* ------------------------------------ */
#include "v_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;
}
/* ------------------------------------ */
/* ------------------------------------ */
I rename the function studied with the prefix X_ to differentiate it from the one with the same name in the library.

Screen output example:

                                                                                       
 Hello word !

 Press return to continue.