Search found 4 matches

by MacJordan
Fri Oct 22, 2010 4:49 am
Forum: Programming Discussion
Topic: how to stop from looping
Replies: 11
Views: 1160

Re: how to stop from looping

I call a function which looks like this, and it keeps looping by resetting itself, this code is also in a function, which has a for loop that sets flip, and once the for loop is done calls checkFlip(), and then does another for loop and checkFlip(). The problem with this code it it sets flip to fal...
by MacJordan
Fri Oct 22, 2010 4:44 am
Forum: Programming Discussion
Topic: Arrays
Replies: 8
Views: 861

Re: Arrays

what would the best way to sort through an array to find the largest number? int bottle[9] {1,3,2,5,6,2,3,5,3}; //here bottle[4] would be the largest I was thinking about making a for loop, and setting 9 different variables to each number, and changing the variables each time it goes through the lo...
by MacJordan
Fri Oct 22, 2010 4:34 am
Forum: Programming Discussion
Topic: [C++] how to declare and use 1D, 2D, and 3D arrays
Replies: 15
Views: 2167

Re: [C++] how to declare and use 1D, 2D, and 3D arrays

Following is way you can define array in C++ : One dimensional array : int arrrayone[] = {1,2,3,4,5}; here you can define infinite value in this array because we have not define the size of array . i you would like to define the size of array then consider, int arrayone[2]= {1,2}; it will accepts on...
by MacJordan
Fri Oct 22, 2010 4:22 am
Forum: Programming Discussion
Topic: what is svn?
Replies: 15
Views: 2210

Re: what is svn?

how do i update code and stay updated on what we do when makin a game? on windows? TortoiseSVN is an easy-to-use source control software for Microsoft Windows and possibly the best standalone Subversion client there is. It is implemented as a Windows shell extension, which makes it integrate seamle...