You are here:

C/exe file

Advertisement


Question
How to make an exe file from multiple c files?

Answer
When you compile a program, it generates an executable.  It may not be immediately obvious where this executable is stored, but if you look around in your settings, you should be able to discern this.  

In Visual Studio, for example, the default location is beneath the project directory in a directory by the name of the configuration (Debug, for example).  In there you will find an executable with the same name as your project.  

Without knowing what IDE or compiler you are using, I'm afraid this is the best answer I can give you.  If you can give me more information, such as how you typically compile C files, I can perhaps give you a more exact answer.  If, on the other hand, you aren't even sure how to compile C files, then I can try to help you out with that, too.

C

All Answers


Answers by Expert:


Ask Experts

Volunteer


Joseph Moore

Expertise

I've been programming in one form or another since my brother taught me BASIC when I was 6. I've been programing professionally since I was 20, first web development with HTML, JS, DHTML, CSS, etc., then I became a video game developer, writing code in C, C++, C#, SQL, assembly, and various scripting languages. I've even written my own scripting languages, custom designed for the games I was making. I also dabble in Java, PHP, and Perl. I've worked on pretty much every aspect of game development, including graphics, audio, gameplay, tool, UI, input, animation, and physics.

Experience

I've been writing C code for 12 years, both on my own in my spare time and professionally.

Organizations
IGDA

Education/Credentials
Bachelor of Science in Game Design and Development, Full Sail University, Winter Park, FL

Awards and Honors
Salutatorian and Advanced Achiever Awards at Full Sail; Independent Games Festival Student Showcase winner, 2004; Featured article on Gamasutra about an experimental game developed in 2004

©2012 About.com, a part of The New York Times Company. All rights reserved.