• Advertisement

Kl1X

Member
  • Content count

    6
  • Joined

  • Last visited

Community Reputation

102 Neutral

About Kl1X

  • Rank
    Newbie
  1. books of making a game engine?

    [url="http://www.amazon.com/Game-Coding-Complete-Third-McShaffry/dp/1584506806/ref=sr_1_1?ie=UTF8&qid=1306862741&sr=8-1"]Game Code Complete[/url] Discusses the major components of a game engine, and has plenty of tips and tricks that are built off of the author's personal experience in the industry.
  2. what is it called

    I would call it something like "Alternating Acceleration." But I have no idea what other people would call it. It seems to me that any implementation of this functionality would be very unique to the game it was designed for, and so any example you find would be of minor help at best.
  3. My tic tac toe game link error

    Try removing _DEBUG from your C/C++ preprocessor definitions. source: [url="http://www.gamedev.net/topic/386850-sdl-linker-error/"]http://www.gamedev.n...l-linker-error/[/url]
  4. My tic tac toe game link error

    What is causing it exactly, I don't know exactly from just that snippet of code. However, that error basically means that the compiler can't find an external function definition. In other words, you are most likely missing an #include somewhere. Looks like you are missing something in your Square class header. EDIT: This link might help you [url="http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/5e126c79-77f3-4d50-a47f-a9ce35cff0a4"]http://social.msdn.microsoft.com/Forums/en/vcgeneral/thread/5e126c79-77f3-4d50-a47f-a9ce35cff0a4[/url] Looks like you are trying to run a release build with _DEBUG defined, or you need to include the appropriate CRT library in your compilers linker settings.
  5. C++ Overloaded Function?

    This isn't overloading, it's just inheritence. [code] class BasePlusCommissionEmployee : public CommissionEmployee { [/code] The above line in the header essentially means that the class BasePlusCommissionEmployee inherits from the class CommissionEmployee. This is an "is a" relationaship, or BasePlusCommissionEmployee is a CommissionEmployee [code] BasePlusCommissionEmployee::BasePlusCommissionEmployee( const string &first, const string &last, const string &ssn, double sales, double rate, double salary ) // explicitly call base-class constructor : CommissionEmployee( first, last, ssn, sales, rate ) { [/code] The above code in the constructor basically tells the compiler to pass the constructor arguements first, last, ssn, sales, and rate into the constructor of the base class. This lets the base class logic take care of creating it's own members, and the derived class then only has to deal with the salary parameter. This is just a nice handy way of creating a derived class without having to copy and paste the code from the base class constructor.
  6. VB.NET multiline commenting

    [quote name='V-man' timestamp='1295292931' post='4760281'] In VB.NET, let's say I have 50 lines of code that I want to comment out, how can I do that? [/quote] Multi line commenting, similar to /*comment*/ does not exist in VB.NET. Like the poster above stated, the best way to comment blocks of code is to use the IDE control to do so.
  • Advertisement