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
Ranked #72.7K
I seem to be getting an error in this code gdb tells me the segerror is comming from the code: data[dpos]+=cmd[d]; [CODE]//Strip tags data[0]="";data[1]="";data[2]="";data[3]=""; dpos=0; for(int d=0;d<cmd.size();d++){ if(cmd[d]==';'){ dpos++; } else{ data[dpos]+=cmd[d]; } } cmd=""; //end strip[/CODE] Could anyone please tell me whats going on? |