I’m using Netbeans to write a C program. Where do I need to paste my input.txt file for the program to read it if I don’t want to specify a directory in the program?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
In the current working directory where the program executes. You’ll have to see where exactly Netbeans causes the binary to be output, but most likely, you will want your input.txt file to be in that same directory. Possibly a
binsubdirectory of wherever your source is.