Author Topic: i'm newbie so tell me this  (Read 3541 times)

Offline rohitprogammer

  • Single posting newcomer
  • *
  • Posts: 3
i'm newbie so tell me this
« on: January 29, 2013, 10:15:56 am »
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

Offline jarod42

  • Multiple posting newcomer
  • *
  • Posts: 87
Re: i'm newbie so tell me this
« Reply #1 on: January 29, 2013, 10:25:40 am »
Avoid to use directory with restricted permission like C:\Program Files (x86)\

Offline rohitprogammer

  • Single posting newcomer
  • *
  • Posts: 3
Re: i'm newbie so tell me this
« Reply #2 on: January 29, 2013, 10:32:01 am »
can you please clarify me

Offline scarphin

  • Lives here!
  • ****
  • Posts: 644
Re: i'm newbie so tell me this
« Reply #3 on: January 29, 2013, 10:50:24 am »
Use another folder for your project files like 'C:\projects\myFirstProject' or something.

Offline rohitprogammer

  • Single posting newcomer
  • *
  • Posts: 3
Re: i'm newbie so tell me this
« Reply #4 on: January 29, 2013, 08:04:50 pm »
thank you all i got my answer