0
Can we make classes in c++ using sola learn app
Can we make classes in c++ using sola learn app
2 Answers
+ 3
yes check this out very simple but basic class example
https://code.sololearn.com/ckwq3o9ob8E9/?ref=app
+ 5
The regular way to create classes, which you probably mean, is to write source code in a cpp file and definitions in a header file, but since SoloLearn, and also any Online compiler/judge can process a single file, you should write them all alongside the main method.