Hi,
I am trying to read a file in c Programming using Xcode. I know the basic syntax of going about this task, but the program is unable to find the file I am trying to read. The file does exist and I believe I have placed it in the "Project Directory" folder. I've been trying to get this to work for at least 3 hours in total. The program does compile and build, but it says "Null" in regard to finding the file. Can someone help me?
I have attached a picture of my code and project navigator.
Thanks you.
I am trying to read a file in c Programming using Xcode. I know the basic syntax of going about this task, but the program is unable to find the file I am trying to read. The file does exist and I believe I have placed it in the "Project Directory" folder. I've been trying to get this to work for at least 3 hours in total. The program does compile and build, but it says "Null" in regard to finding the file. Can someone help me?
I have attached a picture of my code and project navigator.
Thanks you.