heyy...
i need to analyse diffrent text(strings) inputs...
and there is no pattern between the inputs...
i have a question in my school...i need to do like a little storage with char**...and each time i get a string i need to input it into the char**, if the char** gets full, i need to get rid of the strings in the beggining of the char** and put new ones....
therefore, i have a countless index, and the problem is: when i get in the input !n (n= number of line to print, 123456....n)
i need some way to identify what is the n.....(in the !n if its 1 2 3 4 ...
so i can pull the line...
i was thinking about sscanf....but with which parameters insid of it??
how i cut the n? %s%d?