answersLogoWhite

0

You have a class(i.g. MyClass):

class MyClass{

public:

int MyData;

};

And then you use the class like this:

int main(){

MyClass MyObject;

MyObject.MyData=7;

}

User Avatar

Wiki User

13y ago

Still curious? Ask our experts.

Chat with our AI personalities

JudyJudy
Simplicity is my specialty.
Chat with Judy
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
More answers

C++ = b

User Avatar

Wiki User

13y ago
User Avatar

Add your answer:

Earn +20 pts
Q: What is an instance class in C plus plus?
Write your answer...
Submit
Still have questions?
magnify glass
imp