-
Hello,
Today I have two questions. For my first question:
I'm using Borland C++ and would like to know how to make my programs appear in a dos console. At the moment all of my programs are appearing in a small white windows.
For my second question:
How can I clear the screen. Kind of like CLS in batch files and VB.
Thanks
-
Im not to sure if this really answers your question but
i know you can use #include <process.h> and then use
system("CLS") to clear the screen when working in console
mode.
-
the reason your programs are in white windows is probably because you have got their project type set as QuickWin (or something like that). you need to change it to an actual DOS program.
-
Thank you both for your help. Parksie, could you please tell me how I change it to actual dos? Thanks
-
Since I don't have Borland C++, I can't say exactly. I did use it before, but didn't like it and moved to MSVC++. This might work: if you create a new project and migrate all your source files to it.
-
I have got MSVC++ so I might do as you suggest and start using that. Thanks parksie.