language: C++ 4.7.2 (gcc-4.7.2)
date: 209 days 4 hours ago
link:
visibility: private
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <iostream>
#include <string>
 
class whatAmIEvenDoing {
public:
    static std::string what;
};
 
// required definition, don't put it in the header
std::string whatAmIEvenDoing::what = "I don't know!";
 
int main()
{
        // look ma, no instantiated objects!
        std::cout << whatAmIEvenDoing::what << std::endl;
}