simple C++ string questioin, i hope
hey guys
id like to know how i can read a string from a certain point in c++. for example Code:
int a=6; is there anyway to do this? thanks in advance |
I'd use the substr function, i.e.,
Code:
std::string buffer= str.substr(a-1); |
ahhh
thanks dude, ive been lookign for an answer to this all day. |
All times are GMT -5. The time now is 06:36 PM. |