I need to know how 4 god sake I mannage to read specific data from txt file.
for example if in my txt file is ==>
1.txt
I want to go home, and , that , is number : 20
and i want to get only "and" "that" and 20 from this line
how do I do that ?
thenks a lot for any advice...
You need to read the entire line and then pick out the parts you want.
you need to #include <sstream>
bro god bless you !!!
but now how do I copy the name at the "part" to a string ?
the strcpy() function fail 2 work ...
and really thank you 4 your help
Thank you a lot bro you help me to pass this ...
have a good day !
:)
I have a little problem, what about if I need to copy for example
Station Name : A1
and I need to copy "A1"... ?
i mean to copy after a specific sing like here the ==> :
Last edited on
your the king !
It works great!