A
angusyoung1000
Well, I'm new to C++ and seem to get tangled up the C++ syntax quite
often. Here is my latest dilemma. Let's say I have something like:
String::String(const char *s) : length(strlen(s))
What is happening when the last : is encountered?
: length(strlen(s))
Sorry, I can't seem to find any explanation of this in my C++ book.
Your help will be appreciated.
Thx.
often. Here is my latest dilemma. Let's say I have something like:
String::String(const char *s) : length(strlen(s))
What is happening when the last : is encountered?
: length(strlen(s))
Sorry, I can't seem to find any explanation of this in my C++ book.
Your help will be appreciated.
Thx.