If I have an array containing a string:
Is there a way to read each string from the array i.e 'My' then 'name' etc? Or can I only grab individual characters.Code:char line = "My name happens to be Foo.";
I've tried using 'sscanf' but I can only get that to read the first string in the array, so I repeatedly get 'My'. I guess I just assumed, incorrectly, that 'sscanf' would function in the same manner as 'fscanf'.