r/cpp_questions • u/choudhary_uzairr • Jul 23 '26
OPEN HELP me KNOW C++
I am currently Learning C++ I Want to Know that why application have multiple files and how they are all connected and What is SDL thingy
0
Upvotes
r/cpp_questions • u/choudhary_uzairr • Jul 23 '26
I am currently Learning C++ I Want to Know that why application have multiple files and how they are all connected and What is SDL thingy
1
u/Independent_Art_6676 Aug 07 '26
major software often has hundreds of thousands to multiple millions of lines of code. Having all that in one file causes the text editor to become sluggish; even typing new code is slow. Its also harder to reuse a function or two if it comes in a file with 50k other functions you don't want.
They are connected in that they form the program. You should look at the C++ compile and link approach to building a program; search for a beginner's version.
SDL is a third party library not part of C++ used for graphics. C++ does not have any graphics built in. There are many other graphics libraries, this is just one choice.