Help me understand C++ string object initiation

Status
Not open for further replies.

Alexander Yin

Junior Member level 2
Joined
May 29, 2007
Messages
21
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Location
Finland
Activity points
1,450
Hi, Pals,

I don't understand the following code about a string object initiation, pls help me out.

// To avoid reading past end of list
string endmarker(MAX_STRING_LENGTH,'z');

Thank you very much.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…