635 Subj : Re: Combining .cpp files To : borland.public.cpp.borlandcpp From : "Ed Mulroy [TeamB]" Date : Mon Feb 09 2004 05:00 pm To begin you are in the wrong newsgroup. This newsgroup is for the old Borland C++ compiler. What you have is the set of command line tools from C++ Builder version 5. C++ Builder newsgroups have the word 'cppbuilder' in their name. For instance: borland.public.cppbuilder.commandlinetools It is common to build a program from many source files. For a simple, 2 source file program just list both of the source files on the compiler's command line. The base name of the first will be the base name of the executable. For instance: bcc32 -W file1 file2 builds file1.exe from file1.cpp and file2.cpp the -W means create a GUI (graphical) program follow-ups set to borland.public.cppbuilder.commandlinetools .. Ed > Daniel wrote in message > news:4027fd25$1@newsgroups.borland.com... > > Hello. I've recently downloaded some tutorials on OpenGL from > www.gametutorials.com. When I downloaded the files, there were > two .cpp files(not in the first tutorial but in all the rest). My > question is:-"How do I combine the two files and compile them > to make a .exe application?". I don't have the Builder but i do have > the command-line tools.(Sorry, but I can't afford the builder, I'm > only 15). Any help would be appreciated. At the minute I'm > having to cut and paste the relevant code, but I've progressed a > little and it's getting a bit too complicated. . 0