#include using namespace std; class MyClass { public: void printInformation(); }; void MyClass::printInformation() { return; } int main(
you have to create a instance of the class for calling the method..