Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

How can I access txt file in C?

+8 votes
asked Nov 10 by Jay Chen (200 points)
I tried to access a file in C by using fopen but it is not working for me.

1 Answer

0 votes
answered Nov 10 by Peter Minarik (63,320 points)

Can you share the code you used? See here how it's supposed to work.

Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.