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 ...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_10075754.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20180499.html
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...
http://www.experts-exchange.com/Programming/System/Windows__Programming/MFC/Q_20263877.htm...
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...
http://www.experts-exchange.com/Programming/Languages/Q_20647602.html
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...
http://www.experts-exchange.com/Programming/Languages/Scripting/Perl/Q_20733495.html
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);
...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20791730.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_20973736.html
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...
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21294764.html
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 ?
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21573596.html
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....
http://www.experts-exchange.com/Programming/Languages/CPP/Q_21612353.html
Zones:
C++Date Answered: 11/06/2005 Rating: 7.6 Views: 0