One of the big disadvantages i have seen in C is the inability to read one line at a time from a text file.I haev tried writing my own algorithms to do the same but it doesnt seem to have worked all the time.Is there anybody who can help me with this ?

Thanks :D

Member Avatar for iamthwee

One of the big disadvantages i have seen in C is the inability to read one line at a time from a text file.I haev tried writing my own algorithms to do the same but it doesnt seem to have worked all the time.Is there anybody who can help me with this ?

Thanks :D

I think the '\n' has something to do with it me thinks?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.