J
Joah Senegal
Hello all,
I';m getting fucking crazy out here. I want to kill people an all the
computer around. Well to the point... I;m trying to do something very very
simple (atleast it should be simple) I;m trying to put two strings together
basically.
I have sourcecode with a public string called currentstr. Currentstr is a
string that;s called everywhere in the source;
Currentstr=Currentstr+" -> "
printf ("%s", CurrentStr.c_str);
And I;ve tried some other things like
Try one:
string a;
string b;
string c;
a = currentstr;
b = "->"
c +=a
c+=b
printf ("%s", c.c_str);
Try two
string a;
string b;
string c;
a = currentstr;
b = "->"
c = a + b;
printf ("%s", c.c_str);
Well now... when I do printf only Currentstr is printed without "->"
Anyone know how to fix this.. I;ve searched the internet. but I can;t figure
it out
THANKS!!!!!
I';m getting fucking crazy out here. I want to kill people an all the
computer around. Well to the point... I;m trying to do something very very
simple (atleast it should be simple) I;m trying to put two strings together
basically.
I have sourcecode with a public string called currentstr. Currentstr is a
string that;s called everywhere in the source;
Currentstr=Currentstr+" -> "
printf ("%s", CurrentStr.c_str);
And I;ve tried some other things like
Try one:
string a;
string b;
string c;
a = currentstr;
b = "->"
c +=a
c+=b
printf ("%s", c.c_str);
Try two
string a;
string b;
string c;
a = currentstr;
b = "->"
c = a + b;
printf ("%s", c.c_str);
Well now... when I do printf only Currentstr is printed without "->"
Anyone know how to fix this.. I;ve searched the internet. but I can;t figure
it out
THANKS!!!!!