User profile: jlb

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

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]...

Trimming a string
Perhaps you need to output (fout) the substr() instead of the entire string, (hint line 33 is really...