This site is no longer active and is available for archival purposes only. Registration and login is disabled.

Cutting "strings"


Cutting "strings"

Postby egarayblas » Aug 30, 2003 @ 4:57pm

-- home of the think & tap games!
User avatar
egarayblas
pm Insider
 
Posts: 627
Joined: Sep 14, 2002 @ 1:50am
Location: Philippines


Postby mlepage » Aug 30, 2003 @ 5:16pm

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.
www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby AizaDGreat » Aug 30, 2003 @ 11:11pm

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
Got Game?
User avatar
AizaDGreat
pm Insider
 
Posts: 128
Joined: Jun 21, 2002 @ 5:02pm
Location: Philippines


Postby Pejo Software - Per » Aug 31, 2003 @ 12:16am

User avatar
Pejo Software - Per
pm Insider
 
Posts: 343
Joined: Apr 25, 2002 @ 1:00pm
Location: Mölndal, Sweden


Cutting "strings"

Postby damian » Aug 31, 2003 @ 12:28am

damian
pm Insider
 
Posts: 3960
Joined: Sep 3, 2002 @ 7:59pm
Location: Acton, MA (home), NYC (school)


Postby AizaDGreat » Aug 31, 2003 @ 9:22am

Got Game?
User avatar
AizaDGreat
pm Insider
 
Posts: 128
Joined: Jun 21, 2002 @ 5:02pm
Location: Philippines


Postby damian » Aug 31, 2003 @ 11:56am

damian
pm Insider
 
Posts: 3960
Joined: Sep 3, 2002 @ 7:59pm
Location: Acton, MA (home), NYC (school)


Postby mlepage » Aug 31, 2003 @ 6:54pm

www.scalenesoftware.com
Great games for your Palm and Pocket PC!
User avatar
mlepage
pm Insider
 
Posts: 1050
Joined: Aug 3, 2003 @ 4:47am
Location: Canada


Postby Pejo Software - Per » Aug 31, 2003 @ 8:01pm

User avatar
Pejo Software - Per
pm Insider
 
Posts: 343
Joined: Apr 25, 2002 @ 1:00pm
Location: Mölndal, Sweden


Postby AizaDGreat » Sep 1, 2003 @ 10:34am

Got Game?
User avatar
AizaDGreat
pm Insider
 
Posts: 128
Joined: Jun 21, 2002 @ 5:02pm
Location: Philippines


Postby TechMage » Sep 2, 2003 @ 7:27am

Whenever I need to "cut" strings, I just use scissor code. :lol:
User avatar
TechMage
pm Insider
 
Posts: 2223
Joined: Sep 16, 2001 @ 5:40pm
Location: In Your Head


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron