|
-
Feb 2nd, 2000, 08:14 PM
#1
Thread Starter
Junior Member
i wish to make either a dos based program, or a text based one, i plan to use the method shown in the tip about console programming in vb, but how to i retrieve input the same way i would using 'cin' in C?
-
Feb 2nd, 2000, 08:35 PM
#2
Fanatic Member
To my knowledge you can't. You can trap dos text with API functions or you can take dos params in a sub main() or output to a batch script if you like but if you know about iostreams like cout and cin then why no just use C? I use Borland C++ builder for my dos apps because Borlands AnsiString functions are quite good.
What are you trying to do exactly?
-
Feb 3rd, 2000, 04:20 PM
#3
Thread Starter
Junior Member
i would use vc5 but i have no idea how it compiles to dos, i believe i have to use cl.exe?
-
Feb 3rd, 2000, 10:45 PM
#4
Fanatic Member
VC5++ has a options at the beginning for project type and you just choose, er win32 consol I think. then you just code like the wind. if you're writing something small you don't have to get involved with all the MFC crap either.
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
|