Raydium 3D Game Engine

Official forum for everything about Raydium, ManiaDrive, MeMak, ...
It is currently Fri Mar 29, 2024 10:18 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sun Jun 08, 2008 2:00 pm 
Offline
User avatar

Joined: Thu Aug 24, 2006 4:06 pm
Posts: 73
Location: SLOVAKIA
realy work?

Code:
 strcpy(val_s,"AAAAAAA|BBBBBBBBBB");
    raydium_parser_trim(val_s);
    raydium_parser_cut(val_s,val_s1,val_s2,"|");
    raydium_log("LOG S1: %s",val_s1);
    raydium_log("LOG S2: %s",val_s2);



result

var_s1=AAAAAAA|BBBBBBBBBB
var_s2= <null> :(

where is problem?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 08, 2008 4:11 pm 
Offline

Joined: Sun Oct 09, 2005 10:46 pm
Posts: 759
Yes it really work !

BUT be carrefull about the warnings:
Quote:
warning: passing arg 4 of `raydium_parser_cut' makes integer from pointer without a cast


try:


Code:
raydium_parser_cut(val_s,val_s1,val_s2,'|');


and ...

Have a nice day
Ouille


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jun 08, 2008 6:25 pm 
Offline
User avatar

Joined: Thu Aug 24, 2006 4:06 pm
Posts: 73
Location: SLOVAKIA
Oops. Sorry.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 30 guests


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

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group