Yamaraj
The Lord of Death
Here's how you can print ASCII 1 smiling face on the screen, and it has nothing to do with libraries and operating systems. It'll work on any OS, with any compiler and on any system that supports ANSI ASCII codes.
NOTE: The ISO C standard doesn't "know" or care about a screen or an A4 paper size, or the size of my shoe. Writing a C program to "fill the entire screen" with a single character involves non-standard C programming techniques, and you're better off throwing that "Let us C" in a wastebin. I recommend C Primer Plus by Stephen Prata (5th ed deals with C99 too) for a proper introduction to the "Standard C".
Code:
#include <stdio.h>
int main(void)
{
printf("\x001\n");
return 0;
}
NOTE: The ISO C standard doesn't "know" or care about a screen or an A4 paper size, or the size of my shoe. Writing a C program to "fill the entire screen" with a single character involves non-standard C programming techniques, and you're better off throwing that "Let us C" in a wastebin. I recommend C Primer Plus by Stephen Prata (5th ed deals with C99 too) for a proper introduction to the "Standard C".