Seperate files for classes? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Seperate files for classes?

When you create an html file, the app automatically creates a CSS and js file. Is there currently any way to properly make multiple C++ or Java files to make different classes and still have them be able to reference each other? It would help make code neater especially in larger projects.

30th Nov 2017, 1:12 AM
David MacDonald
David MacDonald - avatar
1 ответ
+ 4
If you're working on larger projects, it'd be advisable to use a proper IDE/compiler for such things. HTML has the others included because they're things that work together for a standard webpage. To the best of my knowledge, you'll have to put everything into the one editor you have in Code Playground, but as you said, it gets messy if you're doing a lot.
30th Nov 2017, 1:16 AM
AgentSmith