Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There's link in article:

http://strlen.com/java-style-classes-in-c

You write all the code for your classes inside header files and include them inside another class in main.cpp. That way you get around "declare before use" rule using uncommon feature of C++.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: