Is There a Way to Stop Using the Public/Private When Creating C++ Classes

I was wondering if once you select Public on creating a new class, If you can turn that off? I can’t find anything about it.

I created a new class by accident split into the Public/Private directories and it never worked since the project was not set up like that from the beginning. I haven’t found a solution to it but I assume there is somewhere in the build config that sets up the include paths and it apparently doesn’t automatically adjust to include the new directories.

Similar thing happened in this lecture where I moved things around and found I had to prefix some of the paths with “…/” which is always a bad sign. Any ideas for how to avoid needing that?

Privacy & Terms