Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Oct 2002
    Posts
    61
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question I have a few questions about C++

    ok, after I write the code I save the file and compile it, then what is the file suppose to run on, MS DOS? Like some maze game I dled(that is a C++ program) what do I run that game with?

  • #2
    Supreme Overlord Spookster's Avatar
    Join Date
    May 2002
    Location
    Marion, IA USA
    Posts
    6,280
    Thanks
    4
    Thanked 83 Times in 82 Posts
    Depends on what your code is suppose to do and assuming you compiled it using something like Visual C++ and created a windows executable .exe file.
    Spookster
    CodingForums Supreme Overlord
    All Hail Spookster

  • #3
    Regular Coder
    Join Date
    Feb 2003
    Location
    California
    Posts
    925
    Thanks
    0
    Thanked 0 Times in 0 Posts
    it depeneds on the code...seeing it would help. But you probably use a "cout" command which outputs to a dos prompt. If there are graphic calls then maybe not. But it really just all depends on whats in the code.

    Jason


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •