text: Type: Posts; User: Mybowlcut
  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!
  Cheers. :)
  Hey.
  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.
  The screen...
  To convert an int to a string. As for appending a string to another string, that's just string concatenation.
  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...
  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...
  How can they not be accessible considering my first post's sample code and output?
  Here is my GUI_Object class:
  class GUI_Object;
  typedef boost::shared_ptr<GUI_Object> gui_object_ptr;
  typedef boost::weak_ptr<GUI_Object> weak_gui_object_ptr;
  class Screen_Event;
  // The...
  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...
  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...
  I'm surprised I haven't encountered this yet (or perhaps I have but somehow didn't notice):
  #include <iostream>
  #include <vector>
  class Base
  {
  public:
  virtual bool Is_Mouse_Over()...
  That completely slipped my mind haha. Cheers. :)
  Edit: Nevermind, will let them work it out from Paul's post.
  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?
  #include <iostream>
  #include...
  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...
  Care to elaborate or just going to leave it at that?
  Just bumping this up to the top.
  Like that?
  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...
  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...
  To create a pure virtual function:
  virtual int getInt(string columnLabel) = 0;
  Please use code tags.
  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...
  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...
  Yeah I know it's legal - that was my point, although I should have phrased it better.
  Great..
  Function get_player_attributes(team_no, players_per_team, attribute_name)
  ' ...
  get_players_attributes = player_attributes
  End Function
  I should mention at this point...
  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)
  Function...