Search found 169 matches

by GreatJake
March 18th, 2014, 10:00 pm
Forum: Everything
Topic: do...while statement in an else statement
Replies: 10
Views: 4272

Re: do...while statement in an else statement

void Game::AIGetNextMoveRand()
{
do
{
AIMoveX = rand() % 3;
AIMoveY = rand() % 3;
} while( GetSquareState( AIMoveX, AIMoveY ) == EMPTY );
}

fix:
while( GetSquareState( AIMoveX, AIMoveY ) != EMPTY );
by GreatJake
March 17th, 2014, 9:39 pm
Forum: Everything
Topic: do...while statement in an else statement
Replies: 10
Views: 4272

Re: do...while statement in an else statement

If it isn't allowed then you should get an error. Have you checked if you loop terminates? Upload the code if you want more specific help :)
by GreatJake
March 15th, 2014, 3:30 am
Forum: Everything
Topic: What time is it?
Replies: 17
Views: 7071

Re: What time is it?

Ok now your getting technical lol, Hey do other counties celebrate pi day? In america our date format is MM/DD/YY but other counties use DD/MM/YY
by GreatJake
March 15th, 2014, 2:35 am
Forum: Everything
Topic: What time is it?
Replies: 17
Views: 7071

Re: What time is it?

PI DAY!!!!!!!!!!!!!!!!!!!!!!! 3.14

Next year is more accurate pi day :) 3.14(.)15
by GreatJake
March 11th, 2014, 4:08 am
Forum: Everything
Topic: Beta test my app :)
Replies: 18
Views: 5674

Re: Beta test my app :)

bshivam2001 wrote:Tested that on bluestacks, nice game! Fish Studios?! Graphics are not bad.....if you want some good fishes, google them. Here are some good fishes which i found on google
Since this may become "official" im kinda scared about copyrights, dont wanna get sued :shock:
by GreatJake
March 11th, 2014, 4:05 am
Forum: Everything
Topic: Beta test my app :)
Replies: 18
Views: 5674

Re: Beta test my app :)

I love dropbox type stuff, best services ever. Anyway here is my $0.02, check screen shot below, the text at the bottom is cut off. Not that it's that important, just thought I'd let you know. I would say that it's an entertaining game for a bit. Frustrating that you lose at the first false move, b...
by GreatJake
March 9th, 2014, 10:57 pm
Forum: Everything
Topic: auto
Replies: 21
Views: 7038

Re: auto

http://www.cprogramming.com/c++11/c++11 ... ction.html

Here is a nice article. Simplifys some template stuffs using auto.
by GreatJake
March 9th, 2014, 4:32 am
Forum: Everything
Topic: Beta test my app :)
Replies: 18
Views: 5674

Re: Beta test my app :)

sorry. I moved it back.
by GreatJake
March 9th, 2014, 4:20 am
Forum: Everything
Topic: Beta test my app :)
Replies: 18
Views: 5674

Beta test my app :)

Would anyone like to beta test my app I plan on releasing on the google play store? Just tell me what you do and don't like about it and ill do my best to fix it :D https://www.dropbox.com/s/n9kgk946jyt2l5e/Fish.apk Don't complain about the graphics cuz i realize how bad they are and i need to chang...
by GreatJake
March 8th, 2014, 4:12 pm
Forum: Everything
Topic: auto
Replies: 21
Views: 7038

Re: auto

I only use it in for loops. I like to directly type out the variable type because i find it easier to read while quickly looking over my header files. It easier to fix casting problems when you need a float but its converting to an int or something. I couldn't tell you of other draw backs because i ...