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.
home / developersection / forums / how to create constructor in c ?
AVADHESH PATEL
14-Jun-2013class myclass{public:
myclass( );
};
myclass::myclass( )
{
cout<<"In constructor\n";
}