Skip to main content
gamedev.net
🔒 Locked

updating screen

Started by jarod83 May 27, 2002 at 3:38 AM 1 replies 200+ views
Original Post
jarod83
jarod83
So far I have used two methods to update screen: clrscr() and system("clr"). But It is a bad programming. Anyway, I am looking for some examples of other kind of methods where you can update the changes to an output of "cout". Can anyone help?
DocJunioR
DocJunioR

char CLRSC[80*25];
for (i = 0; i < (80*25); i++) CLRSC = '' '';
cout << CLRSC;

what about this way?
it''s horribly slow

cYaDjR====================may you be in heaven half an hourbefore devil knows you''re dead ;)

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.