Answer the question
In order to leave comments, you need to log in
How to solve the problem of reading a file in C++ after building a project?
The essence of the problem is this: I have a text file where simple numerical data is written, from where they are read.
If the project is launched from the IDE (I have xcode), then everything works fine, but I need to compile the project into an executable file, in which the problem arises, where the txt file is not readable / not seen by the program
I tried to create the same txt file next to the file (in theory, it should be created if it is missing) - it does not work
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question