I want to know how to write a program to fill the entire screen with a smiling face. The smiling face has an ascii value 1.

Use :

char charface = 1;

cout<<charface;// or even printf()

That will output the smilie face to the screen,the rest is easy.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.