Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C++ question

Name: Anonymous 2005-08-08 18:17

can a function returnan array? i dont think it can, but someone please tell me, it on my C++ final

Name: Anonymous 2007-10-08 2:07

>>1
The real question is - why the fuck are you using an array in C++? If you're going to use C idioms, use fucking C. If you're using C++, either accept a reference to a std::vector (if you need to modify the array), or return a std::vector allocated on the stack.

Using raw arrays in C++ is just retarded.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List