.cpp to .exe

Jacker69
Jacker69 used Ask the Experts™
on
How, if possible, can i make a .cpp file to an .exe file so it can be run by itself?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
What is your compiler?
What is your OS?


Normally it's something like the following:

cc foo.cpp

Author

Commented:
DEV C++
windows professional

do i have to download the cc foo,cpp to convert it?
Commented:
First create a project using Dev C++.
Then attach the file to this new project.
Exploring ASP.NET Core: Fundamentals

Learn to build web apps and services, IoT apps, and mobile backends by covering the fundamentals of ASP.NET Core and  exploring the core foundations for app libraries.

Commented:
Create a project in Dev-C++. Push F9. If it runs, then you're in luck. Go to the folder where your project is saved, and there will be an EXE file with the same name as your project. That's your program!

Commented:
This question didn't show any activity for more than 21 days. I will ask Community Support to close it unless you finalize it yourself within 7 days.
You can always request to keep this question open. But remember, experts can only help if you provide feedback to their comments.
Unless there is objection or further activity,  I will suggest to accept

    "Axter"

comment(s) as an answer.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
========
Werner

Commented:
My comment seems to contain the complete answer, whereas Axter's does not answer the question.

Commented:
>>My comment seems to contain the complete answer, >>whereas Axter's does not answer the question.

Your answer may have more information, but that doesn't make my answer incomplete.

It's standard policy that the points go to the first expert that provides an answer.

Commented:
Axter, your comment doesn't answer the question!
Joeyman

Since the asker didn't give any feedback anothe rexpert made a recommendation to use Axter's comment since it was th efirst reasonable, possible answer. Your comments adds a few steps to Axter's answer, but basically says the same thing.

Force accepted

** Mindphaser - Community Support Moderator **

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial