How can i create a new object in a class?(c++) [closed]
Good evening every body~
As the title, How can i create a new object in a class? and i want to give it a number.
How can i do that?
Thank you very much~
class MyClass {
int yourNumber;
};
or what do you mean?
精彩评论