Author Topic: opening main  (Read 4208 times)

jshah11

  • Guest
opening main
« on: July 28, 2009, 07:59:38 am »
so i downloaded code blocks on my pc which has microsoft vista and i followed all the directions so everything was installed properly. I went to file, new, project and pressed the console application. I followed the wizard, but when it was time for me to save my file under the name I provided it said that I couldn't save the file. A window came up saying that the file could be write-protected. It then closed, and I tried to open the main, but it said the file "main" was not found because it did not exist. Now, I don't know what to do because I installed this program 3-4 times, twice on my mac and two times on my PC. I can't figure out what to do. anyone know?

Offline thomas

  • Administrator
  • Lives here!
  • *****
  • Posts: 3979
Re: opening main
« Reply #1 on: July 28, 2009, 10:42:09 am »
Can only guess. Maybe the location where you wanted to save your project to has access rights which don't let the user Code::Blocks runs as write.
"We should forget about small efficiencies, say about 97% of the time: Premature quotation is the root of public humiliation."

jshah11

  • Guest
Re: opening main
« Reply #2 on: July 29, 2009, 04:31:21 am »
hey thanks! it worked when i saved the project to another file location =)

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: opening main
« Reply #3 on: July 29, 2009, 08:02:32 am »
hey thanks! it worked when i saved the project to another file location =)
A window came up saying that the file could be write-protected.
As you see: C::B already told you that.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ