January 15th, 2011 04:12 AM
I only mentioned it because I couldn't find the source of the error, so thought it may be due to the metaprogramming code. I see now that I am completely blind!
January 14th, 2011 11:54 PM
I'm running into a problem with a class that uses template metaprogramming. I'm not well-versed with the methodology, so I'm a bit confused as to why I'm getting the error.
February 1st, 2010 03:02 AM
To convert an int to a string. As for appending a string to another string, that's just string concatenation.
January 31st, 2010 03:59 AM
Actually, you have misunderstood what I meant. I was asking nuzzle how he would do this:
I misread what he wrote, as I thought he said he was somehow enforcing that derived class virtual functions...
January 27th, 2010 07:19 AM
Sorry, I understand that, but I still don't understand how you would enforce that a virtual function declared as private in a derived class but declared public in the base class is not called from a...
January 27th, 2010 06:41 AM
How can they not be accessible considering my first post's sample code and output?
January 27th, 2010 06:36 AM
Here is my GUI_Object class:
typedef boost::shared_ptr<GUI_Object> gui_object_ptr;
typedef boost::weak_ptr<GUI_Object> weak_gui_object_ptr;
January 27th, 2010 06:25 AM
The real reason that it came about was that I was creating a GUI builder, and I needed to have a function that could create an object that derived from GUI_Object based on a string parameter and...
January 27th, 2010 06:09 AM
Because they suck at designing inheritance hierarchies. ;)
I have a GUI_Object base class and decided recently that I needed my Text class to derive from it. However, the Text class shouldn't have...
January 27th, 2010 05:48 AM
I'm surprised I haven't encountered this yet (or perhaps I have but somehow didn't notice):
virtual bool Is_Mouse_Over()...
January 5th, 2010 04:45 PM
That completely slipped my mind haha. Cheers. :)
January 5th, 2010 04:52 AM
Edit: Nevermind, will let them work it out from Paul's post.
January 5th, 2010 04:03 AM
As described in the code below: it doesn't seem possible, but I could really use it... Does anyone have any ideas of how to get around this?
October 16th, 2009 08:53 AM
That's awesome that you've figured out what's right for you. My Dad just realised after 49 years of life that he wants to direct movies, so he is studying that. Never too late to do what you want to...
October 14th, 2009 04:23 AM
Care to elaborate or just going to leave it at that?
October 13th, 2009 05:54 PM
Just bumping this up to the top.
October 13th, 2009 05:53 PM
October 10th, 2009 11:34 PM
I've just started properly using precompiled headers in my game engine:
// stdafx.h : include file for standard system include files,
// or project specific include files that are used...
August 31st, 2009 05:27 PM
So then IDBProvider is an abstract type - you either made it inherit from a class with a pure virtual function and did not override it, or you gave it a pure virtual function directly. Your options...
August 31st, 2009 06:32 AM
To create a pure virtual function:
virtual int getInt(string columnLabel) = 0;
Please use code tags.
August 30th, 2009 07:26 PM
Please use code tags to format your code.
Your program gave me this linker error in Visual Studio:
Error 2 error LNK2019: unresolved external symbol _main referenced in function...
August 30th, 2009 07:18 PM
How did you add the files into your project? I have used CSerial successfully before, so it is definitely a problem with how you've added it or where it is on your computer. Chances are you might not...
August 13th, 2009 04:32 AM
Yeah I know it's legal - that was my point, although I should have phrased it better.
August 12th, 2009 04:52 AM
Function get_player_attributes(team_no, players_per_team, attribute_name)
get_players_attributes = player_attributes
I should mention at this point...
August 12th, 2009 04:46 AM
I guess it is "classic ASP", but I'm not sure because I have very limited experience with it.
' Used to get an array of a specific teams players' atttributes (e.g. name, goals, points)