No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Ok, I'm really getting helpful answers from this site!!! Here's my new C++ question: How much code can go in an initializer list? Can I call new SomeClass() to get a pointer to initialize something even if it wasn't in the original argment list? Can I do math on the … | |
Dear all, I'm starting to get the hang of this C++ business, but I have one question that I just realized I don't have an answer to. Suppose I want to call a constructor from within a constructor to reduce redundancy in the parts that are identical. I seem to … | |
Hi all, I'm gradually starting to make this transition from the world of C to C++, and now that I have a little progress, I have some things that are still a bit confusing to me. One of them is if I nest a class inside another class. If I'm … | |
I'm sort of duplicating this post because it requested that I start a new thread because I was replying to an old one, but here is a statement that prompted my questions: "Accessors should be const methods at the very least, because the object state isn't changed in the body." … | |
Re: Don't forget stringstream needs a constructor: [url]http://www.cplusplus.com/reference/iostream/stringstream/stringstream/[/url] By the way, that site in general is a great API for C++ with examples as in that case. By the way, note that with C's *scanf or C++'s stringstream, if you ever need to convert a number in scientific notation to a … | |
Re: Ok, I came across this post because of an error I had that was because of a const that was introduced through netbeans automatically generating a getter function for me. When I removed all the const 's from my code, I was fine again. However, Radical Edward seems to be … |
The End.