Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Linear Algebra and the C Language/a0e5

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

__NOTOC__ 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.