Forum: C++ Jan 10th, 2009 |
| Replies: 6 Views: 367 Thanks again! But when I cout << game, i get
0x441000
What happend there? |
Forum: C++ Jan 10th, 2009 |
| Replies: 6 Views: 367 Thanks! But how would I change the contents of variable with out completely erasing it?
ex:
In Tic Tac Toe, the third line looks like this:
Line_one[3] = { ' ', ' ', ' ' }
Then the player... |
Forum: C++ Jan 10th, 2009 |
| Replies: 6 Views: 367 Hi everyone. I'm currently working on a Tic Tac Toe game, and I am having a little trouble with, well, I'm not even sure what to call them. They are a variable with brackets like so below. Anyway, I... |
Forum: C++ Aug 6th, 2008 |
| Replies: 3 Views: 591 Heres the main part:
#include <iostream>
#include <windows.h>
#include <fstream>
using namespace std;
char txtname;
int main(void) |
Forum: C++ Aug 6th, 2008 |
| Replies: 3 Views: 591 So, I'm making a simple program that can edit text files. I have a text input that says "Please enter the name of the file, followed by a '.txt'. ". Although, whenever I enter a name, it will only... |
Forum: C++ Jul 13th, 2008 |
| Replies: 1 Views: 532 OK, so on my program, whenever I enter in incorrect selection (when I am actually running it), it goes back to the main loop and continually loops! what's wrong with it? here's the code:
/*
... |