I know this has got to be something simple Iam overlooking, but I have been working on some code using Linked list w/fstream and I have it all working except for one thing. If the char string that ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10078727.html
I define an in file stream as follows:
ifstream fin("myfile.txt");
and then i do some reading in like fin >> foo >> bar;
etc..
So now I want to put the file pointer back at the beginning of the...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10114316.html
Zones:
C++Date Answered: 01/05/1999 Rating: 8.6 Views: 0
I can read an input file in this following format:
48530
1992,12,15
232
282
324
346
340
306
251
186
136
111
109
127
165
211
256
291
304
292
261
219
180
156
150
164
5399,224.958
1992,12,16
193
233
2...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10141632.html
Zones:
C++Date Answered: 03/23/1999 Rating: 8.2 Views: 0
I am trying to read a file and each category in the file is seperated with "#". What is the easiest way to read until the "#" and then jump to the next record. I just need to know that I have hit...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10214183.html
Zones:
C++Date Answered: 10/23/1999 Rating: 6.2 Views: 0
I'm trying to write a prog that takes a file called censor.in with the 1st line containing the number of subsequent lines and outputting it into a file called censor.out with all the four-letter wo...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10302517.html
Zones:
C++Date Answered: 02/29/2000 Rating: 7.8 Views: 0
I am developing a utility that manages a log file on win32 systems. I am using VC++ 6. What I need help with is locking access to the file while my process has it open.
Here's a code snippet...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_11723918.html
Hi ,
I want to read a file.I'm having trouble in reading a whole line.
I want the program to ignore lines that
start with "//"
I have written:
ifstream pFrom("InputFile.txt");
string st;
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_11735878.html
Zones:
C++Date Answered: 01/14/2002 Rating: 8.6 Views: 0
Hi I'm running this program on UNIX using g++. Basically when I compile and run it, I input the name of the file, booked.txt in this case which is in the current directory. I seem to get a core dum...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20101162.html
Zones:
C++Date Answered: 04/08/2001 Rating: 7.4 Views: 0
How can I find out where in the buffer my istream is looking at (while debugging)?
i.e. How can I find out which character will be read out next from an istream (while debugging)?
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20125720.html
Zones:
C++Date Answered: 05/28/2001 Rating: 9.2 Views: 0
ok i am trying to store the lines of a file as strings in an array heres what i have so far but it doesnt work.
#include<iostream>
#include<fstream>
#include<string>
using namespace std;
voi...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20540149.html