When my program is executed does it always have to be displayed in a command prompt? or can i make it look good?
Printable View
When my program is executed does it always have to be displayed in a command prompt? or can i make it look good?
Well if you use Windows you could try programming in Windows, but it is a lot different then what you are used to.
- Sean
add color.... hehe
if you run linux...
look at
http://cyber.homeunix.net:81/steve/src/
if not, (not sure)
but there is some code in the Source Code section of the main CPROGRAMMING page. I don't remember exactly where it is located but its called calc. Has some DOS coloring functions
http://www.google.com/search?hl=en&q...OS+in+C+or+C++
So if I had some kind of program (like a database of names) i couldn't get it out of the DOS prompt and have little text boxes to fill in the names or wutever (hehe)
well
you could program a mini-gui but you would have to run that through pure DOS
I don't know exactly how to program a GUI but X-Windows is open source, you might try them.
otherwise... it is quite difficult
if you just want boxes with graphix, that's possible... remember the DOS games...
THE SVGA or VGA libraries has stuff for that.
here is a recent DOS program of mine, I decided to start working with Windows recently (WAY different than DOS). This is pretty low-quality picture, and it loses alot of the detail, but you get the basic idea of what can be done in DOS with little effort:
CLICK HERE FOR PICTURE
ive just started learning Visual C++ (well trying, my heads not right !!)
seems to me, the easiest way to make little progs look good is to combine the nice GUI etc of visual stuff, with the c coding of your actual program ??????