Hello, I have a really odd scenario here , ...
When I attempt to run my program in the folder that I originally coded it in
say C:\123, the following line of code
FILE *fp = fopen("file.123","w");
Returns a NULL pointer, ... That is fine, but say I go into the root directory and rename the folder 123 to 321 and then run the same program (without re-compiling it) the program works!
WTF Could this be?
I have tried renaming the directory and then renaming it back but it does not work?
Any suggestions ...
PS: This is the only forum where I could see this post belonging, if it does not belong here, then I apologize...
Windows Is Being Bad
Windows Is Being Bad
There is no such thing as a stupid question, ...
There are quite inquisitive idiots however...
There are quite inquisitive idiots however...
Read the article who know maby that the ansuer for that:http://www.gamedev.net/reference/articl ... le2091.asp
Kat'Oun
Windows has always been a bad naughty girl, as a rule of heardt, never use strange names in folders (like all numbers) and in files (like odd numeric extensions, or <4 digits for the extension)
In Linux is fine to do strange things, but windows bails out for very very small ones...
Take for example the apache server, in linux, the .htdocs work fine, but in windows they wont work, why? because there cant be files without extension (although in this case, the .htdocs is just a hidden file)
Stick to what billy boy expects you to, and youll do just fine
cheers dude
In Linux is fine to do strange things, but windows bails out for very very small ones...
Take for example the apache server, in linux, the .htdocs work fine, but in windows they wont work, why? because there cant be files without extension (although in this case, the .htdocs is just a hidden file)
Stick to what billy boy expects you to, and youll do just fine
cheers dude