DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    astrogirl Guest

    How do I make an executable in C++?


    In Visual Basic I can make my program an executable which enables me to give
    it to a friend and they can use it without having visual basic software.
    How would I do this with a C++ program?

  2. #2
    Luis Abreu Guest

    Re: How do I make an executable in C++?


    If you're using VC++6.0 it's easy: you simple choose build from the from the
    Build Menu in the menu bar. It will generate a directory, inside the directory
    where the project is, in which you ca find your EXE file(the name is the
    name of your compile option : DEBUG or RELEASE MIN SIZE, etc.).If you don't
    have visual C++, then you must get a compiler and use the old DOS prompt
    to build it (run compiler with the filename). I'm not sure, but I think that
    in Borland C++ you also can build an EXE file from the Borland C++ editor
    (think there's an option in the menu)



  3. #3
    Johnny Guest

    Re: How do I make an executable in C++?


    "Luis Abreu" <luisabreu@netmadeira.pt> wrote:
    >
    >If you're using VC++6.0 it's easy: you simple choose build from the from

    the
    >Build Menu in the menu bar. It will generate a directory, inside the directory
    >where the project is, in which you ca find your EXE file(the name is the
    >name of your compile option : DEBUG or RELEASE MIN SIZE, etc.).If you don't
    >have visual C++, then you must get a compiler and use the old DOS prompt
    >to build it (run compiler with the filename). I'm not sure, but I think

    that
    >in Borland C++ you also can build an EXE file from the Borland C++ editor
    >(think there's an option in the menu)
    >
    >


    Hello...

    Yes, in the Borland C++ DOS and Windows versions, you can build your EXE
    file in a similar manner to VC++ 6.0 (using menu selections).

  4. #4
    duane Guest

    Re: How do I make an executable in C++?


    "astrogirl" <astrogirl3@chickclick.com> wrote:
    >
    >In Visual Basic I can make my program an executable which enables me to

    give
    >it to a friend and they can use it without having visual basic software.
    >How would I do this with a C++ program?


    Compile, link and build it.

Bookmarks

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


Top DevX Stories

Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL


Sponsored Links