Im making a program to read data into a string and then search the string for data and then extract it.
Im using fread to read the data but how do i search and extract info from the string?
Im making a program to read data into a string and then search the string for data and then extract it.
Im using fread to read the data but how do i search and extract info from the string?
use a loop to look trough the elements of the string one by one?
(not entirerly sure what you mean)
They say that if you play a Windows Install CD backwords, you hear satanic messages. That's nothing; play it forward and it installs Windows.
Well, Im trying to make this program so that it reads through a file. and finds the data it needs, when it gets to this data, it puts it in a float array.
Basically, I need it to search for more than one object in the array and i need it to search for something that takes up an unknown amount of objects.
If this can be done without converting the file to an array let me know.
Sorry my post seems to have confused you guys...
The file itself is technically a text file....
but i need to find info i dont where it is.
I know what it might look like but i dont know where.
Is there some code that could search through an array and tellme where the part which i need is?
new question
i want to make a table using infor from a string, how do i do that?
char *str[MAX_STRINGS];
Saravanan.T.S.
Beginner.