When I use that it works perfectly, but when I remove cin.ignore() and cin.get() it doesn't show anything in the file. :confused:
And when I don't I need to hit enter three times.
Type: Posts; User: Rusty_chainsaw
When I use that it works perfectly, but when I remove cin.ignore() and cin.get() it doesn't show anything in the file. :confused:
And when I don't I need to hit enter three times.
http://rapidshare.de/files/17827852/awesome.rar.html
1. scroll down and click FREE
2. download it
3. extract anywhere
4. run it
#include <iostream>
#include <fstream>
#include <string>
using namespace std;
int place;
int gold = 100;
int level = 1;
What the hell?
/*-------Tic Tac Toe--------
by Rusty_chainsaw */
#include <iostream>
#include <fstream>
#include <string>
The book C++ In A Nutshell is fine. What else should I be talking about? You asked for a C++ or DB book.
=)
on topic: I would actually enjoy that game in a multiplayer version against two computers.
C++ In A Nutshell is okay.
I don't see anything wrong with it. It's actually pretty nice.
Thank you.
I am, trying to make the user type in a filename and the content for the file, then use ofstream to make the file. Fairly simple but the errors keep coming. :confused:
Kind of let the user make...
Hello, this is my source code so far:
#include <fstream>
#include <iostream>
#include <string>
using namespace std;
string fileName;