Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 31 Mar 2011
Offline Last Active Aug 14 2014 01:45 PM

#5172376 Stuck in C#......

Posted by Spyderzone on 08 August 2014 - 05:45 PM

In C++ you would probably use something like a vector with 6 elements.  Then just fill your vector with instances of the Pokemon object.

In C# you would do the same thing but I believe the proper container is the ArrayList.

#5104822 attempting to learn DarkBasic Pro, any help is greatly appreciated

Posted by Spyderzone on 27 October 2013 - 12:46 PM

I think this is a common problem and the best thing to do is slow down. I know probably not what you wanted to hear.

I'm not familiar with that book but I'm sure it's probably like most other language books. So what I'd recommend is as each new topic is introduced work through the sample code and problems no matter how trivial they seem. The primary reason being that you may be assuming that topic is easier than it is and when you start working with the code you quickly discover that there is a piece, maybe only one line that doesn't work like you thought. Through these trials and tribulations of working through the code your brain absorbs the information better allowing you to apply/recall it more easily.

#5090257 SFML Directory or File not found

Posted by Spyderzone on 29 August 2013 - 06:17 PM

Change it to
#include "ScreenManager.h"

#4913225 Need help with an excercise from Beginning C++ 2nd edition

Posted by Spyderzone on 14 February 2012 - 09:44 PM

First off let me say I have pretty basic knowledge of C++ and I'm pretty much a beginner in general, but my guess is if you want to do this what you need to do is have a way to escape the loop.

For example if your menu is

1 - Add Game
2 - Remove Game

You need to have something like:

9 - Quit

Then you can have your do loop do something like

do {
while ( userAnswer != 9);