User profile: Texan40

User info
User name:Texan40
History
Joined:
Number of posts:446
Latest posts:

how to fix stack overflow
[code] const unsigned int vSize = 600*600; // instead of this int iVec[vSize]; // do this int *iVec ...

How to output contents of array
array subscripts are always like this: for array int iArray[N] you can access iArray[0] through iAr...

swap function
If you want to actually alter a and b pass in references instead: void swap(int &a, int &b); Rig...

Programming face cards and aces
I'm pretty sure that an Ace is always 11 until it would cause the player to bust at which point it i...

Is there a way to return to a certain point in my code?
[code] int value = 0; while(value < 1 || value > 10) // this will continue to loop until an acceptab...