Welcome to HBH! If you had an account on hellboundhacker.org you will need to reset your password using the Lost Password system before you will be able to login.

C++ splitting a string?


ghost's Avatar
0 0

ok i can split a string with a delimiter fine but i cant just get the individual chars without using a delimiter:( any ideas?


ghost's Avatar
0 0

I can't really help you directly (I know VERY little C++), but I googled C++ Forums, and got this: http://forums.devshed.com/ Try posting there, I'm sure a programming oriented community would give you more sufficient results than a hacking directed community. Good Luck :) -Xer0X|manic


ghost's Avatar
0 0

Well, if you just want to retrieve individual characters, how about using the at() method.

if a string variable 'str' is the string you want to retrieve a character from, and an integer variable 'i' is the location of the character in the string, and a char variable 'a' is what you wish to load it on to, then you could just use

a = str.at(i);


ghost's Avatar
0 0

i love you mate!! perfect:D