English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

fill the screen with character alt-178 entering clockwise

2007-02-26 13:25:05 · 3 answers · asked by jake 1 in Computers & Internet Programming & Design

3 answers

ur question is a bit confusing and ambiguous. i think u want to fill the screen with one character.

#include"stdio.h"
void main()
{
for( int i=0;i<800;i++)
{
for( int j=0;j< 600;j++)
{
printf( "%c", (char)178);
}
}
}

2007-02-26 14:01:50 · answer #1 · answered by Anonymous · 0 0

What?

char c = (char)178;

for(lcv = 0; lcv < 80; lcv++)
{
printf("%c", c);
}
printf("\r\n");

Do that a bunch, and you'll have the entire screen set.

2007-02-26 21:37:33 · answer #2 · answered by Anonymous · 0 0

You may need to add some delay after printing one character.

2007-02-26 23:49:05 · answer #3 · answered by manoj Ransing 3 · 0 0

fedest.com, questions and answers