User forums > General (but related to Code::Blocks)

i'm newbie so tell me this

(1/1)

rohitprogammer:
i've made new project in compiler but when i put this code and try to built
#include <stdio.h>
int main()
{
    printf( "Hello world! \n" );
    return 0;
}
It shows me this erorr message
ld.exe||cannot open output file C:\Program Files (x86)\my\main.exe Permission denied| ld.exe||cannot open output file C:\Program Files (x86)\my\main.exe Permission denied| ||=== Build finished: 1 errors, 0 warnings (0 minutes, 0 seconds) ===| so please tell me how can i fix it

jarod42:
Avoid to use directory with restricted permission like C:\Program Files (x86)\

rohitprogammer:
can you please clarify me

scarphin:
Use another folder for your project files like 'C:\projects\myFirstProject' or something.

rohitprogammer:
thank you all i got my answer

Navigation

[0] Message Index

Go to full version