Thread
:
Pointer return type,.. ???
View Single Post
May 22nd, 2006, 9:57 PM
#
6
Jimbo
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power:
3
You can pass the size as another parameter, and refer to the parameter. Hardcoding it like you have is a bad idea. Have you considered using std::string?
Jimbo
View Public Profile
Find More Posts by Jimbo