User profile: AbstractionAnon

User info
User name:AbstractionAnon
History
Joined:
Number of posts:6366
Latest posts:

namespace std
https://stackoverflow.com/questions/1452721/why-is-using-namespace-std-considered-bad-practice

Whats wrong with this "for loop"?
For one thing, you're making an out of bounds reference on the first iteration. Line 1: First itera...

Separate String and put into Class
Once you're changed the commas to spaces, the easiest way to parse each line is to use a stringstrea...

can't find why this bug occur
Line 21: The first char of alo is a space, so a!=alo[i] is always going to be true the first time t...

References to Pointers
A reference is an alias. In your example, the compiler does not generate a memory location for a ne...