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.

Freopen - max file size

+1 vote
asked Feb 28 by Cielo Davide (130 points)
Good morning, we need to open text files in C++, but a message appears saying that the file exceeds 100k. Is there any way to overcome this limit?

1 Answer

0 votes
answered Mar 6 by Peter Minarik (88,130 points)

The documentation of std::freopen doesn't say anything about such limitation.

Can you try to use a different way to open the file?

What is the exact error message?

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.