Page 1 of 1

Cutting "strings"

PostPosted: Aug 30, 2003 @ 4:57pm
by egarayblas

PostPosted: Aug 30, 2003 @ 5:16pm
by mlepage
String is not a builtin data type. What kind of strings are you talking about?

char* ?
std::string?
MFC CString?
your own string class?

In C++, I use std::string and its associated functions.

PostPosted: Aug 30, 2003 @ 11:11pm
by AizaDGreat
Let me rephrase what he just asked:
Is there a ppc version for the code below


TCHAR ls_Temp[10];

memmove(ls_Temp, fu_GameData[SLOT1].Name, 10);



It works fine on PC, won't compile for PPC.
Thanks

PostPosted: Aug 31, 2003 @ 12:16am
by Pejo Software - Per

Cutting "strings"

PostPosted: Aug 31, 2003 @ 12:28am
by damian

PostPosted: Aug 31, 2003 @ 9:22am
by AizaDGreat

PostPosted: Aug 31, 2003 @ 11:56am
by damian

PostPosted: Aug 31, 2003 @ 6:54pm
by mlepage

PostPosted: Aug 31, 2003 @ 8:01pm
by Pejo Software - Per

PostPosted: Sep 1, 2003 @ 10:34am
by AizaDGreat

PostPosted: Sep 2, 2003 @ 7:27am
by TechMage
Whenever I need to "cut" strings, I just use scissor code. :lol: