Results 1 to 4 of 4

Thread: dos based?

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    MFAU
    Posts
    19

    Post

    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?

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840

    Post

    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?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2000
    Location
    MFAU
    Posts
    19

    Post

    i would use vc5 but i have no idea how it compiles to dos, i believe i have to use cl.exe?

  4. #4
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Japan
    Posts
    840

    Post

    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
  •  



Click Here to Expand Forum to Full Width