+ 1
How to link two of the cpp files?
I wanna link my two of the cpp files, how can achieve it? Are there any particular function regarding the same?
6 Réponses
+ 2
What compiler do you use? In GCC, you can link multiple files like this:
g++ -o test main.cpp anotherfile.o
+ 1
In this case, read this: 😄
https://www.sololearn.com/Discuss/288609/?ref=app
And this:
https://stackoverflow.com/questions/47422197/how-to-link-multiple-files-in-turbo-c
+ 1
I see. Personally, I use GCC with Linux. I'm not familiar with compilers for Windows, sorry
+ 1
That's ok. Thanks for your guidance.
0
Anna I use turbo c++ on my pc for coding in c++
0
Thanks but due to board curriculum I've to use the same.
By the way, and what can be other better options over turbo?