How to create a programe in c++? Can we do it by modules as like in java or all of it in a single file? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
0

How to create a programe in c++? Can we do it by modules as like in java or all of it in a single file?

10th May 2017, 4:55 AM
Karunjith M
3 Antworten
+ 2
You can have as many different files as you want.
10th May 2017, 4:57 AM
Toky R.
Toky R. - avatar
+ 2
The number of files does not really matter. you can put your entire code in one file as well.
10th May 2017, 11:21 PM
Krishneel Nair
Krishneel Nair - avatar
0
The only event u shall be careful with is that there shall only be one main().
18th May 2017, 1:16 AM
PySolo