Categories
How to organize such a record using a class?
I want to make a conclusion for the fan as in C#. // System is the class name System.out.printIn("Hello");
System.out.printIn("Hello");
Answer the question
In order to leave comments, you need to log in
System is a global class instance that contains an out member that has a println method.
class SystemType { public: class Out { public: void println() { cout << "haha"; } } out; } System;
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question