#include <iostream.h>
#include <fstream.h>
int main ()
{
ifstream fin ("gift1.in");
ofstream fout ("gift1.out");
int NP;
fin >> NP;
Type: Posts; User: Drealoth
#include <iostream.h>
#include <fstream.h>
int main ()
{
ifstream fin ("gift1.in");
ofstream fout ("gift1.out");
int NP;
fin >> NP;
Hey everyone.
I'm very new to c++, and I'm busy trying to teach myself it. My school feels the need to teach Turing (even when we have Visual Studio 6.0 installed on all of the computers), which...
My problem is that there are two different strings of variable length. Is there an end of line function?
This is my program:
#include <iostream.h>
#include <fstream.h>
int main ()
{
ifstream fin ("whatever.txt");
char x[6];
fin >> x;
Over the march break, a couple of friends and I want to start a MMORPG (call me ambitious).
Anyway, we wanted to create our game with an isometric view, similar to Dransik [www.dransik.com] (yeah,...