hi guys a have a problem with my homework.I need to read a file line by line with fscanf() but i couldnt do it . the content of the file is as shown:
Madrid Rome 300
Prague Paris 500
Istanbul Rome 350
Paris Rome 600
And i need to read line by line. how could i do it ? but i'm not allowed to use static arrays ?