Enter Keywords:
1 - 10 of 124(0.017 seconds)
Sort By:
 
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 ...
Zones: C++, Microsoft Visual C++Date Answered: 09/27/1998 Rating: 7.8 Views: 0
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...
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...
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...
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...
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...
Zones: C++, Microsoft Visual C++Date Answered: 11/06/2000 Rating: 5.6 Views: 0
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; ...
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...
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)?
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...
Zones: C++, Microsoft Visual C++Date Answered: 12/14/2003 Rating: 7.4 Views: 0