i'm using a visual studio 6 on a windows xp os.. none of the methods in the FAQ work for this application, anyone else have any ideas

10-14-2002

quzah

Quote:

Originally posted by digarren i'm using a visual studio 6 on a windows xp os.. none of the methods in the FAQ work for this application, anyone else have any ideas

There are at least two options that will work there. You obviously haven't tried them all. There's actually three, if you count tossing your monitor out the window.

Quzah.

10-14-2002

RoD

#include <stdlib.h>

int main()

{

system("cls");

return 0;

}

10-14-2002

digarren

ride or die got it, not sure what apps the other codes are supposed to work on, but i did try them all, cept the out the window one....was getting close...it is just a simple decryption program and i wanted to clear screen after each attemp.

10-14-2002

quzah

Quote:

Originally posted by digarren ride or die got it, not sure what apps the other codes are supposed to work on, but i did try them all, cept the out the window one....was getting close...it is just a simple decryption program and i wanted to clear screen after each attemp.

No you didn't. You didn't try them all or you would have found one that worked:

Option 1: You don't have conio.h so this wouldn't work.
Option 2:
putchar some newlines until everything is scrolled off of the screen.

You didn't do that, or it would have worked. See, we're only at #2, and already you have one that works. You just didn't feel like doing anything so you said you tried.

"We are men of action. Lies to not become us."

Quzah.

10-14-2002

RoD

eh glad i could help.

10-14-2002

digarren

Hey quzah!!!

your right, that would have worked, but i wanted something a little more proffesional, don't think i would have got a good mark for running the screen...but thanks for your input..as a first year programmer i appreciate any help.:p