Need help with codeblocks

This is a discussion on Need help with codeblocks within the Windows Programming forums, part of the Platform Specific Boards category; hey i am trying to expand my programming knoweledge - have downloaded and fully installed code blocks - when i ...

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    3

    Need help with codeblocks

    hey i am trying to expand my programming knoweledge - have downloaded and fully installed code blocks - when i run it and try to run my first project i get the error - cannot open output file bin\Debug\First project.exe Permission denied

    have i set something up wrong or is windows being windows
    any advice greatly appreciated thanks

    note: i get this error in both c and c++

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    I suppose you should check that you're not trying to create the program in some restricted place, like C:\Windows.

  3. #3
    Registered User
    Join Date
    May 2011
    Posts
    3
    as far as i know ive set the directory in C:\codeblocks\New folder

  4. #4
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,185
    Quote Originally Posted by SilverClif View Post
    as far as i know ive set the directory in C:\codeblocks\New folder
    If you go there in Windows explorer will it let you add a file there? Have you tried it in a normal spot, like a new folder inside your documents directory?

  5. #5
    Registered User manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    Kolkata@India
    Posts
    2,523
    ..If everything fails..try running as Administrator..!..the free 'root' key in Windows..
    Manasij Mukherjee | gcc-4.9.2 @Arch Linux
    Slow and Steady wins the race... if and only if :
    1.None of the other participants are fast and steady.
    2.The fast and unsteady suddenly falls asleep while running !



  6. #6
    Registered User
    Join Date
    May 2011
    Posts
    3
    put new folder on my desktop and ran codebloks again and all is solved it seems
    - far as i can tell it didnt create the folder so had nowhere to put the file - thanks heaps for the advice

  7. #7
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    In Vista and Win7, they introduced a new file organization... Users now have a home folder. You can do anything you want within that folder.

    It's default location is C:\USERS\<YOURUSERNAME> so it's nice and easy to get to. If you go to the start menu and click on your user name it will open. That's where you put your stuff. Make a folder for "Coding" or such and and use that for your projects.

    Making folders on your desktop is generally not a very good idea as the desktop itself is behind a hidden folder and is actually the sum of 2 different folders displayed together... a user desktop and a global desktop. On multi-user setups you could actually be making folders that show up on someone else's desktop...

    If you want a shortcut to your home folder on your desktop, just drag the icon from the start bar and drop it there.
    Last edited by CommonTater; 05-24-2011 at 06:18 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. using codeblocks
    By torquemada in forum Tech Board
    Replies: 7
    Last Post: 04-20-2011, 09:57 PM
  2. Cant compile using Codeblocks 10.05
    By laimaretto in forum Windows Programming
    Replies: 2
    Last Post: 12-15-2010, 12:24 PM
  3. gcc vs CodeBlocks compiler
    By CDdotdot47 in forum C Programming
    Replies: 8
    Last Post: 08-13-2010, 01:43 PM
  4. Codeblocks.
    By Kitt3n in forum C++ Programming
    Replies: 5
    Last Post: 05-16-2010, 02:50 PM
  5. Codeblocks gets a new release
    By indigo0086 in forum A Brief History of Cprogramming.com
    Replies: 20
    Last Post: 03-01-2008, 02:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21