Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    10
  • comments
    12
  • views
    5657

update

Sign in to follow this  
LostSnow25

202 views

I happened to get my hands on Thinking in c++ 2nd Edition and Thinking in c++ Volume 2. Just skimming through, I learned a bit more on pointers, vectors, and even templates. I will have to take time to read it thoroughly, and revise my code as I go along. I have been thinking of creating my own menu class and other classes for this that glut just cant do.

I am thinking of making the menu class abstract using the command 'virtual'.


//Abstract test//
class MenuControl {
public:
virtual void createMenu(string, string, int) const = 0;
virtual void createMenu(string, int) const = 0;
virtual void addEntry(string, int) const = 0;
};



Im just messing around with different styles of code from the book. To test some out, i'll probably make a 2d little game engine that simply allows you to read in sprites and place them on the screen. It will allow me to experiment on making menus and toolbars and give me time to look over the book some more.


Cya

-Beginner in OpenGL and most of C++ as well, Richard-
Sign in to follow this  


0 Comments


Recommended Comments

There are no comments to display.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!