141 reputation
5
bio website
location
age
visits member for 1 year, 11 months
seen Apr 21 at 6:11

Apr
3
awarded  Popular Question
Sep
13
awarded  Popular Question
Oct
10
comment Functions returning pointers
Ok, since I am a noob, I don't know what exposing the pointer to a private class member outside the class does (I can make a guess, but this is before he has introduced the const keyword), but I will say that he does declare private data members explicitly, but this was an example to show that data members are private by default. It is an okay book, honest. ;D
Oct
10
comment Functions returning pointers
6.2 is exactly the followup question I had. Thanks!
Oct
10
asked Difference between a REPL and interactive shell
Oct
10
comment Functions returning pointers
I also omitted the call to the string library #include<string> since it wasn't necessary for the function I included in my query. That said, it /is/ a book about C++ on Windows.
Oct
9
awarded  Scholar
Oct
9
accepted Functions returning pointers
Oct
9
comment Functions returning pointers
Hmm, this one is called C++ in Plain English by Brian Overland, and on the whole is very readable... And in his defense, he did make it clear that array names return the address of the first element earlier in the book, I just didn't put 2 and 2 together.
Oct
9
comment Functions returning pointers
Ah yes, the book did say that when introducing arrays. Thanks.
Oct
9
awarded  Student
Oct
9
asked Functions returning pointers
Sep
1
awarded  Supporter