Hi,
how can I read specific data from file? let's say I have file containing this:
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:
<Something: "something2",
"something3">
how can I make program to insert "something2" (without quotes) into something[0] string and "something3" into something[1] string? so my program will get everything after "Something:" and between quotes
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...