|
-
December 11th, 2008, 02:10 PM
#6
Re: Returning contents of int array from function
 Originally Posted by Paul McKenzie
I'm waiting for the ubiquitous "my teacher won't allow me to use vector" comment any moment now...
A completely off topic question...
Do you guys [Paul, CPUWiz, etc] think that things like naked pointers and arrays shouldn't be taught, or something? I fully agree that vector and most other things STL make using C++ much easier, lead to less bugs, easier code maintenance and so on, but it still seems to me that one must know these things to be considered a proficient C++ programmer. Even if you never plan to write a single line of your own code using them, you have to know them because you simply can't escape them. Whether it's maintaining legacy code, using 3rd party libraries, or whatever...
Would you guys -any of you- seriously hire a C++ programmer who was a master of std::vector but knew nothing at all about raw pointers? Pardon me if I'm doubtful. Because, I mean, if the guy is in a class and he is supposed to be learning about pointers, your comment just seems just slightly rediculous and/or arrogant.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|