14 years, 3 months ago
Highlights
Thank you BCullis, that cleared everything up. In terms of pointers as iterators I guess thats something I'll have to learn later. Really appreciate your help.
14 years, 3 months ago
14 years, 3 months ago
I wrote this code to test: #include <iostream> #include <string> #include <vector> using namespace std; struct Person { string name; int age; }; int main() { /…
14 years, 3 months ago
Hey guys, I'm teaching myself C++ using the Accelerated C++ book. I'm having issues understanding the authors definition of the invariant. This is the initial code from…
14 years, 3 months ago
He hadnt taught else if in the book just yet so I was hesitant about using it. I understand the invariant issue now, the invariant is true before the loop starts, then you make…
14 years, 3 months ago
Latest Activity
See all in DiscussionsThank you BCullis, that cleared everything up. In terms of pointers as iterators I guess thats something I'll have to …
14 years, 3 months ago
I wrote this code to test: #include <iostream> #include <string> #include <vector> using namespace std; struct Person { string name; …
14 years, 3 months ago
He hadnt taught else if in the book just yet so I was hesitant about using it. I understand the …
14 years, 3 months ago