I know that but what if someone wants to make a username or a password that contains letters and numbers.
How can I make the program accept such data.
Thank you.
Type: Posts; User: Shazly
I know that but what if someone wants to make a username or a password that contains letters and numbers.
How can I make the program accept such data.
Thank you.
Thank you.
Is there a variable that can hold string and int in the same time?
If not, what can I do if I want to input data with string and int like a password for an example.
I would like to know how can I make a simple program .exe so that I don't have to open it through code blocks every time.
How to make a source code into a functional program that a user can open and use without coming across the source code and building or running it. Thank You.
How do i get the fraction for any decimal number in a variable?
#include<iostream>
using namespace std;
int main()
I didn't get that at first!! nice advise by the way i modified it!!
bool board_3_by_3_win(char board[][8], char XO)
{
if((board[0][0] == XO && board[0][1] == XO && board[0][2] == XO)...
The 3 by 3 board only has 8 possibilities of a player wining!! I could make a loop that checks all like
bool X_wins_4 But I just copied and pasted this from an older
version of tic tac toe with...
It's complicated for me too!! that's why I broke it down to many functions. about the error, I don't get any error with the compiler over here. I just though the numbers input once better than asking...
Tell me if you find any bugs or holes in the code and if you have any question.
Note: You type in the row and column number in together with no space between them. Thank You :D
// Done by...