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

How to define class and object in C++?

AnkitTech
Beginner
314 Views

class A

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

 {

   //Body

  }
};

0 Kudos
0 Replies
Reply