I'm beginner in language (C++) . I'm have created some example for learning point of view. Can you tell me how to create constructor in C++ language? Please provide me line of code.
Your help is greatly appreciated.
Other
class myclass{public:
myclass( );
};
myclass::myclass( )
{
cout<<"In constructor\n";
}