Is it necessary that in C++, every thing should be treated as objects? I feel like I am trying to pursue a flawless design that I can never achieve.
Ok, since I am still stuck with it, can you guys lend me a help in getting away with this stage. Are there any good books that present guide to OOP design styles and think like an Object oriented style and mentions about proper readable code?
I am trying to write my rendering engine. So far this is what I have.
I want it to be pretty generic and easily understandable. But my OOP problem is not specific to this particular piece of code only. Every while I try to code something in C++, OOP issue is being a dead-end. Or am I simply being too crazy and worrying about really minor details?
int m_nWidth, m_nHeight;
void SetParameters(int& argc, char* argv);
void SetWindowSize(int nWidth, int nHeight);
void SetWindowName(char szWindowName);
int InitializeWindow(int& argc, char* argv);
void print_log(GLuint object);
Thanks in advance