#include <iostream> using namespace std; class SomeClass { public: static void message(void) { cout << "Hello, world!\n"; } ; }; int main(void) { SomeClass::message(); }