i am facing this problem from past few days.This sounds to me like either a non-stopping application (i.e. it remains in memory after closing) or an issue with an AntiVirus (/defense) software that does not free it's handle to the executable.
it could also be a loop running in your program. just because you pushed that x to close it doesn't mean your app kills it's self mid process.Yes, but then it should appear in the task manager which isn't the case:
- inspect the running processes in your task manager to see if the app closed properly
i tried first two methods i turned my antivirus off and also checked process list but i found nothing.
anyone help please this is killing me still getting those "permission denied" errors.All I can tell is that this is certainly not a C::B issue. Why that happens extremely depends on your system and used software. It is uncertain that you can get an any more help from the Code::Blocks community therefore.
any idea any way i can code properly without this errors it's slowing me down a lot and forcing me to try something else(which i don't want).
anyone help please this is killing me still getting those "permission denied" errors.All I can tell is that this is certainly not a C::B issue. Why that happens extremely depends on your system and used software. It is uncertain that you can get an any more help from the Code::Blocks community therefore.
any idea any way i can code properly without this errors it's slowing me down a lot and forcing me to try something else(which i don't want).
Sorry.
You can try to rename the exe to delit.exe, not del it.exe.
Have you tried compiling from the command line? Do you get the same errors? If so, it isn't a CB problem and you should look elsewhere for a solution.
G:\g++ main.cpp -o main.exe
'g++' is not recognized as an internal or external command,
operable program or batch file.
First ensure mingw\bin is in your pathI forgot to mention that C:\mingw\bin must (of course) point to your compiler's installation directory; on my computer, for example, it is C:\libraries\mingw, so I would type
path C:\mingw\bin;%path%
g++: main.cpp: No such file or directory
G:\>g++ main.cpp -o main.exe
there was no error using g++ it was just showing tons of messages but no output windows executable file or object file.If you compile on the commandline, and the file does not have any errors, there should not be any messages.
ok problem is solved when i reinstalled the codeblocks it's now working fine.
i thing that access denied problem was because i mixed the nightly build with the original codeblocks program files (i am stupid :roll:).
anyway case is closed.