cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
MingW using multiple source/header files
MingW using multiple source/header files
Apr 27, 2011 at 12:57am UTC
SJPxx
(4)
Hi, I can't find any instructions on how to compile programs with multiple source files or header files. I am compiling via command prompt. thanks
OS is windows 7
Apr 27, 2011 at 1:07am UTC
GodPyro
(151)
1) Download cygin:
http://www.cygwin.com/
2) Make sure you select gcc compiler when you run setup.exe.
3) Create a makefile:
http://www.metalshell.com/view/tutorial/120/
4) Run your makefile.
or download Visual Studio Express:
http://www.microsoft.com/express/Downloads/
Last edited on
Apr 27, 2011 at 1:08am UTC
Apr 27, 2011 at 3:20am UTC
Duthomhas
(13206)
Or get
MinGW
, and skip cygwin altogether.
[edit]
http://www.cplusplus.com/forum/unices/2313/#msg8761
There's also an Article somewhere that addresses the issue (by
Disch
or
chrisname
, methinks).
Last edited on
Apr 27, 2011 at 3:22am UTC
Topic archived. No new replies allowed.