|
-
Jun 23rd, 2000, 05:43 PM
#1
Thread Starter
Hyperactive Member
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
-
Jun 25th, 2000, 07:41 PM
#2
Dazed Member
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.
-
Jun 26th, 2000, 01:44 AM
#3
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jun 26th, 2000, 02:00 AM
#4
Thread Starter
Hyperactive Member
Thank you both for your help. Parksie, could you please tell me how I change it to actual dos? Thanks
-
Jun 26th, 2000, 02:08 AM
#5
Monday Morning Lunatic
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 refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jun 26th, 2000, 03:42 AM
#6
Thread Starter
Hyperactive Member
I have got MSVC++ so I might do as you suggest and start using that. Thanks parksie.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|