how can I read specific data from file? let's say I have file containing this:
1 2 3 4
Data1: 1
Data2: 2
Data3: 3
Data4: 4
how can I make program find "Data1: " and then get everything what's behind it? or like in some configs, there is:
1 2
<Something: "something2",
"something3">
how can I make program to insert "something2" (without quotes) into something[0] string and "something3" into something[1] string?
I saw that somewhere few months ago, that person was using stdio.h to open txt file (fopen) and then some command to look for specific word and then he got his value, but I can't find it now...