I searched it up and found out that there's no such thing as "public class" in C++ but it can be used in Java and C#. A Youtuber used a public class and the video was about some other topic so they didn't explain it. Here's the code they typed... public class in C++
I'm confused now so please clarify. Thank you~
It comes from CLR. You can read something about it here: CLR
Microsoft has its own version of C++ designed for Common Language Runtime.
I wouldn't recommend learning it, rather stick to the standard version of C++ unless you work in a very specific, Microsoft environment, and basically you need to use it.