컴파일은 g++ static-structure-in-class{,-main}.cpp 명령을 내리면 a.out이 나옵니다.
삽질하다가 간신히 성공한거라 자세한 내용을 모르고 되는 것만 적어놔요..
has a previous declaration as 오류나 does not name a type static 오류 invalid use of qualified-name structure 오류 undefined reference to 오류 등.. C++과 구조체를 정확히 모르니 몸이 무려 하루하고 반나절을 고생하네요..