Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~134 People Reached
Favorite Forums
Favorite Tags
c x 6
Member Avatar for cusa

Hi, I have a problem with strtok(). I have string in this form 2000;ON_0;1000;ON_2; and when I execute this code: [code=c] for ((p=strtok(Seq_String,";"));p;(p= strtok(NULL, ";" ),n++)){ foundThings[n] = p; Send_String_pc("\xd\xa\xd\xa"); Send_String_pc(foundThings[n]); } foundThings[n]='\0'; [/code] I get : 2000 ON_0 10 It is C code for microcontroller and this is not …

Member Avatar for cusa
0
134