How do you run a program in c++ allegro file that contains a source code and a separated header file?
-
I'm new to allegro in c++ and I downloaded a game code that came in a folder with a header file and a source code, how do I run the game with two separate files?
-
Answer:
You don't. You have to compile the source and header file with a compiler, which produces an object file. You then have to link the object file with a linker to produce an executable file which you can then run. Since most people don't want to be bothered, look again and see if there's already an executable in what you downloaded. The source and header are usually included so people who are into such things can look at or modify them.
bandnerd... at Yahoo! Answers Visit the source
Related Q & A:
- How to find the embed code for videos on a Website when it doesn't show in the source code?Best solution by Stack Overflow
- How do I run a silent auction?Best solution by Yahoo! Answers
- How do you run a print head cleaning?Best solution by wikihow.com
- How do I run a fast mile?Best solution by Yahoo! Answers
- How do I run a game on both of my monitors?Best solution by tomshardware.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.