Do as me :P Make a Tic Tac Toe game ^^
I have read the cprogramming.com tutorials(The basic ones, up to classes) and have made a basic Tic Tac Toe game, working and playable, and it can be expended...
Type: Posts; User: wildex999
Do as me :P Make a Tic Tac Toe game ^^
I have read the cprogramming.com tutorials(The basic ones, up to classes) and have made a basic Tic Tac Toe game, working and playable, and it can be expended...
Thanks, I'll try to read up more on functions, structures and dynamic memory before thinking too much about pointer ^^
I'll just go back to my primitive Tic Tac Toe game :P
Damn, you got me there :P
Well, as you say, I will probaly find out of it on the way ^_^
But It's just that everyone say that it's so important and make everything so easier :S
Damn, need to check my math skills again -_-'
Hmmm... I like to know WHY I need to learn it before i learn it :P learn it learn it it learn :P etc.
Well, it would be wrong if 0/10 too, so check both numbers:
else if (symbol == '/')
{
if(num2 == 0 || num1==0 )
cout << "error" << endl;
Hello, I have been reading trough the first C++ tutorials, tried to program and learn how it is, and so far so good, but what I can't understand, is the USE of pointers, I understand how to set a...
Hello, just a smal question, In some codes(In a tutoriao on this site too) I have seen this "->" with some kind of pointers, but I just can't understand what this do, what does it do? How do i use...
Can you please post how you did it? May help others with same question, or who just wan't to learn.
Well, I tryed to make something out of the multi useri nput model that was suggested, and here it is.
What is missing:
Scoring, It doesn't check to see if someone have won
Error checking, entering...
Much easier on the user, I'm gonna use them to enter a value for a tic tac toe game(First thing i make with C++) and I make them enter X and Y, ofcourse I can do in two inputs, but... I just want to...
Seems like it doesn't like me to use string inside [], and neither can i make it char or int. Damn, I just want to go back to GML where it was do it or not, not like do 3 things just to be able to do...
Thanks for quick reply.
Yea, I remember now, char can't be converted to int.
I also tried to use string and substr to get out the numbers i want, but:
no match for 'operator[]' in...
Fixed tha, but that was just me writing error on this post, the error is still there, somewhere.
Hello, I have started with C++ and have read some tutorials, so now I'm trying to make something, but i got a problem, and it's probaly easy to fix, but I can't do it.
I try to place a value on a...