I am trying to open a directory, and then open a file named \"YouTubeSign\", directory opens fine, but for some reason fopen() on the file fails even if the file exists; any ide
The problem is that it will work from the command line when you're testing this code. There's nothing technically missing here. You need to make sure that the process is using the correct working directory.