User profile: jlb

User info
User name:jlb
History
Joined:
Number of posts:2848
Latest posts:

Question regarding using eof in a while loop.
While in most circumstances using eof() to control input loops is a bad idea it is possible to use e...

Code compiling in Visual Studio but not g++
How are you trying to compile the code with g++? What version of g++ are you using? What operating s...

Trimming a string
Your biggest problem is that the way you're trying to read the file you'll only have one string beca...

Read data from file to 2D array
You may want to review your documentation on arrays. And it might be easier if you start with a stat...

Read data from file to 2D array
[quote]I would really appreciate it if anyone can give me a hint about what I'm doing wrong.[/quote]...