-
Deleting a temp file
Simple code:
Code:
remove("c:\\windows\\desktop\\mytemp.txt");
The problem I'm trying to get around is the need to be explicit as to where in the *dir that particular file is. I've read thru that convoluted mess at msdn, but that damn website give me too much of a freakin' headache.
Mostly, is there some *wildcard dir that would negate the need to for full pathway? I assumed, and wrongly it seems that the file simply being in the same directory as that of the program isn't enough.
-
Eh, nevermind. I overlooked the simple solution; since I'm the one creating the file it'd stand to reason that I'd know where I put it. D'oh!
Sorry 'bout that. :(