26.08.2016, 14:36
I'm not sure why you're using the "z" specifier since it is deprecated, and you're not even specifying the string length next to it (example, z[15]). Also, you only have 1 parameter (with 3 options) and telling sscanf you need 4 parameters. Then, when you want to set the Note variable value you create a variable called string with 400 cells to insert a 200 cell string in it. That step is also unnecessary, you should just set Note value to tmp.
Try using the "s" sscanf specifier, remove the other 3 specifiers and specify the array size.
Try using the "s" sscanf specifier, remove the other 3 specifiers and specify the array size.