User profile: jlb

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

Array-size defining
Yes it is wrong, you need to initialize n before you try to use it. Second since you're using C++ a...

c++ For Loop Error
What happens if s.sval[i] is equal to sval[i]? I recommend you use one return statement in this fun...

getline() reading whole .txt file
[quote] Looking this issue up, it seems to be some trouble with encoding endline statements in text ...

getline() reading whole .txt file
Please show how the input file was written, and if possible post a small sample of your input file. ...

reading from file
Have you tried without the ignore()? The getline() function skips leading whitespace characters by d...