View Single Post
Old May 22nd, 2006, 9:57 PM   #6
Jimbo
Battle Programmer
 
Jimbo's Avatar
 
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 769
Rep Power: 3 Jimbo is on a distinguished road
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 is offline   Reply With Quote