^^^^
Thank you jnif for an example. As I understand it:
Code:
For each line in the file:
read it into notename_str
do something magic to it, extracting data into notename_note and notename_name
if notename_note is in range:
copy the name into nn_name
insert the nn_name into the indexed note_names array
increment the nn_name
Is that right?
Some questions:
(a) that match() syntax is a mystery to me - where are the possibilities explained? Justin's notes above did not cover the options you're using
(b) why is the strcpy() needed? Why not just use notename_name?
(c) why increment the nn_name? I's text not a number, isn't it?