C: user defined strings and files
Go to solution
Solved by Avratz,
Take address1 out of quotes in your fopen_s call. You're trying to open a file called "address1", not what you entered.
fopen_s(&file_in, address1, "r");
-
Featured Topics
-
Topics
-
Aussie_Avo ·
Posted in Networking1 -
0
-
Djeunut ·
Posted in Programming0 -
.anon ·
Posted in Storage Devices0 -
4
-
Korhaka ·
Posted in Networking3 -
2
-
David3110445 ·
Posted in Troubleshooting3 -
Mark Sideris ·
Posted in Troubleshooting7 -
8
-
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now