how can i read a line form a file in c is there any function like readline() or anything else
for example
a = 5
b = b+5
how can i read each line and save it in different strings
how can i read a line form a file in c is there any function like readline() or anything else
for example
a = 5
b = b+5
how can i read each line and save it in different strings
use fscanf()
greetz
I agree, fgets()
fscanf() causes headaches at times.
Walt