.cpp files and .h files | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson

.cpp files and .h files

So I am a computer science student working on a project in C++. I need to create a project in the main function and another set of functions in the .h file and its saying another in a .cpp file. I have am new to using multiple files to create a project. Any advice on how this works? Thanks

30th Dec 2022, 1:51 AM
Byron Lencrerot
Byron Lencrerot - avatar
2 Answers
30th Dec 2022, 2:17 AM
+ 1
Thank you! My course text book doesnt do a good job at explaining this process.
30th Dec 2022, 3:02 PM
Byron Lencrerot
Byron Lencrerot - avatar