can I include .cpp file into another .cpp file??
eman 22
0
Junior Poster in Training
Recommended Answers
Jump to PostYou compile both .cpp files into your project. The linker will take care of the rest.
Jump to PostI don't know about Java, but in C++ you compile the source into object files and then you link the object files into the executable. If you're using an IDE then these two steps will probably be obscured and you will simply click "build" or something like that.
Anyway, …
All 7 Replies
Fbody
682
Posting Maven
Featured Poster
ravenous
266
Posting Pro in Training
eman 22
0
Junior Poster in Training
WaltP
2,905
Posting Sage w/ dash of thyme
Team Colleague
ravenous
266
Posting Pro in Training
eman 22
0
Junior Poster in Training
mike_2000_17
2,669
21st Century Viking
Team Colleague
Featured Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.