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:11

>>15
Let me rephrase that. Using non-static arrays in C++ is retarded. There's no reason not to statically allocate an array on the stack. Using new/malloc to allocate an array (or statically allocating it, hackhackhack) is just silly when there are safer high-level constructs which don't incur significant performance penalties.

And if you're concerned that much about performance, you shouldn't be using C++.

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