Hi all,
I've been using vectors of CStrings in various functions in my code. I'd like to make one of them a class member variable
In the function, I declare it as such:
vector<CString> vec(100,"");
where it has a size and is initialized.
when I attempt to put this same line under the public heading of my class, i get "constant" errors...what am I doing wrong?
any help would be greatly appreciated.
I've been using vectors of CStrings in various functions in my code. I'd like to make one of them a class member variable
In the function, I declare it as such:
vector<CString> vec(100,"");
where it has a size and is initialized.
when I attempt to put this same line under the public heading of my class, i get "constant" errors...what am I doing wrong?
any help would be greatly appreciated.