Intel® C++ Compiler
Community support and assistance for creating C++ code that runs on platforms based on Intel® processors.
7932 Discussions

How to define class and object in C++?

AnkitTech
Beginner
301 Views

class A

{
private:
int data;
public:
void fun()

 {

   //Body

  }
};

0 Kudos
0 Replies
Reply