No no no. I''ve been programming in C++ for about 6 months now. I think classes are the greatest things since sliced bread but I don''t know what he means by putting it in a class or something.
There''s no town drunk here, we all take turns.
Velocity Gaming Force
Why does just making a window to run an OpenGL program gotta be so complicated?
Yeah I agree the windows stuff is very low level.
Check out the laterst NeHe basecode here.
It''s not any less complicated than the tutorial basecode, but it''s much more organized
-solo (my site)
Check out the laterst NeHe basecode here.
It''s not any less complicated than the tutorial basecode, but it''s much more organized

-solo (my site)
-solo (my site)
quote:
Original post by Ekim_Gram
No no no. I''ve been programming in C++ for about 6 months now. I think classes are the greatest things since sliced bread but I don''t know what he means by putting it in a class or something.
There''s no town drunk here, we all take turns.
Velocity Gaming Force
God help us all if people think that sliced bread was the last great thing.
But anyways, putting your window startup code into a class could be useful.
class CW32StrtUp
{
public:
SetWindowSize();
SetWindowColor();
Startup();
DrawTextFast();
DrawTextComplex();
CreateAnotherWindow();
//...etc
private:
//variables
HWND hwnd
HINSTANCE hInstance;
HDC hDC;
HGLRC hRC;
}
There is already something like this in MFC called CWnd . but I doubt you''ll want to use MFC for a game.
good luck.
quote:
Original post by deathtrapquote:
Original post by Ekim_Gram
No no no. I''ve been programming in C++ for about 6 months now. I think classes are the greatest things since sliced bread but I don''t know what he means by putting it in a class or something.
There''s no town drunk here, we all take turns.
Velocity Gaming Force
God help us all if people think that sliced bread was the last great thing.
I''m sorry that this is off topic but that is just halirous.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement