1

if statement + strtok

view story
linux-howto

http://ubuntuforums.org – hello everyone, im new in here and im having a headache with my program,the thing is that i need to get a input from the keyboard and then separate it using strtok but have to separate the tokens using 4 diferent cases and in each case i need to print the result and save it to a string like this: input String : Label Instruction #50,Y; Label <with> and the output should look like this: Label: Label Instruction: Instruction Character 1: #50 Character 2: Y Comentaries: Label <with> also it has to be able to reconize if a instruction is missed like this: Input Strin (Hardware)