Enter Keywords:
1 - 10 of 89(0.007 seconds)
Sort By:
 
HI, I am doing a getline and string compare for a text file usinf ifstream.But after it reads certain number of lines the application is crashing. Why? If it is a memory problem how do I allocate ...
Zones: C++Date Answered: 08/29/1998 Rating: 7.8 Views: 0
Using this very simple program, if I enter a string like this "Firstname Lastname" I have to press enter twice before it outputs the string. How come? Can I alter this behavior? #include <iostre...
Zones: C++Date Answered: 09/10/2001 Rating: 8.4 Views: 0
hi i'm trying to read a text file line by line and process each line .. anyway, i tried the example from MSDN and it doesn't work please provide me some good code .. the text file contains...
Zones: Windows MFCDate Answered: 02/21/2002 Rating: 7.6 Views: 0
I'm having difficulty here.  What I am trying to do is to search a text file for certain words or phrases, strings essentially.  I am trying to have the user input the exact string to be searched f...
Zones: LanguagesDate Answered: 06/13/2003 Rating: 6.8 Views: 35
Ive making an application that uses Net::Telnet. In it, it has to take the output from the connection and place it in a file. I know that i can use 'get', 'getline' and 'getlines'. the problem...
Zones: PerlDate Answered: 09/10/2003 Rating: 9.4 Views: 0
I am able to load a file just fine with the following:     char HoldLineData[300];     ifstream fin(LOAD_FILENAME);     while (!fin.eof()) {         fin.getline(HoldLineData,300);         ...
Zones: C++Date Answered: 11/08/2003 Rating: 9.6 Views: 4
Can I email you some code and an external file for your review? I am having an issue with reading in more than one line from an external file. I tried using variations of the getline function ho...
Zones: C++Date Answered: 04/30/2004 Rating: 8.6 Views: 0
Hello, I'm trying to use getline too get a line from a file, print out the line and then take that exact line and do some analysis too it. After that I want to move the next line and do the same th...
Zones: C++Date Answered: 02/21/2005 Rating: 6.2 Views: 0
C++ getline(cin, str) and cin>> str ... work differently under g++ than in Win Console 32 bit .NET ?
Zones: C++Date Answered: 09/27/2005 Rating: 9.8 Views: 5
Hi there I am a new member. I have a problem with my getline(cin, str) command even after fixing the bug in my string template. For a straight program I do not have any problem with the getline....
Zones: C++Date Answered: 11/06/2005 Rating: 7.6 Views: 0