yeah, that does work, but it wasn't in the specific way I was using it.
I had to do this... which still is a little flakey...
( key is a pointer pointing to a var that has a string in it passed through a function ).
Code:
char cKey[256];
for( int i=0;i<strlen(key);i++ )
cKey[ i ] = *(key+i);
then i could do:
Code:
maxCKey = strlen( cKey );
hah. :D
I guess if for some reason anyone else gets in to the situation I did, that's one way of doing it.
edit:
in the line: for( int i=0;i<strlen(key);i++ )
sizeof(key) doesn't make all of the key show
and strlen(key) loops way past actual key and makes funky symbols show.
lol. awesome.