DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2004

    Making C++ visual...

    I am in an introduction programming class, and have just finished writing a program. Anyhow, I'd like to be able to run the program outside of our linux server, and outside of DOS. Similar to clicking on a Microsoft Word shortcut and the program runs.

    Is there a way to do this, and is it easy? Sorry for the beginner's ignorance...

  2. #2
    Join Date
    Dec 2003
    You compile the program on whatever system, which makes a "binary" (.exe file in windows world). Then you can double click that and it runs. In windows, you can create a shortcut to it and put that in the start menu, on the desktop, or wherever. In dos or linux you make a batch file/ script which is a text file that runs the program, not hard to make, and put it wherever -- double click and it runs. Note that a binary does not work cross platform.. i.e. a dos exe does not work on linux. Some dos exe's work under windows and some don't.

  3. #3
    Join Date
    Dec 2004
    I realize that it will run in DOS after I make it an exe file, but it would be nice to have some sort of gray screen with white text entry boxes, not just a black DOS screen. See what I'm getting at?

  4. #4
    Join Date
    Dec 2003
    Oh. Thats not C++ really, gui's and graphics are not part of the language and fairly unportable. Which type of computing system did you actually want to run on?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.