First project fail, help?

This is a discussion on First project fail, help? within the C++ Programming forums, part of the General Programming Boards category; First project not even working, making me horribly discouraged from learning C++ . Is there a fix for the blue ...

  1. #1
    Registered User
    Join Date
    Feb 2011
    Posts
    10

    First project fail, help?

    First project not even working, making me horribly discouraged from learning C++ . Is there a fix for the blue highlighted error?

    http://i53.tinypic.com/ot2ck1.png
    Last edited by kdufa; 03-01-2011 at 03:21 PM.

  2. #2
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,452
    Sounds like a permission error; not a programming language error.
    Make sure to run Code::Blocks as admin or store the project somewhere (like my documents) where you have write privileges.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Feb 2011
    Posts
    10
    Quote Originally Posted by Elysia View Post
    Sounds like a permission error; not a programming language error.
    Make sure to run Code::Blocks as admin or store the project somewhere (like my documents) where you have write privileges.
    did both of those things, and the problem is still happening, i get 6 errors 0 warnings from that project, even though theres visibly nothing wrong with it to me. any other suggestions?

  4. #4
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,452
    Well, in your image, you get only one error. Feel free to post the build log when you get these 6 errors. It would help in understanding what is going awry.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,638
    OP earlier today made a thread about problems with his compiler here: New to C++, need help which he conveniently abandoned and decided to keep programming with a broken compiler.

  6. #6
    Registered User
    Join Date
    Feb 2011
    Posts
    10
    Quote Originally Posted by whiteflags View Post
    OP earlier today made a thread about problems with his compiler here: New to C++, need help which he conveniently abandoned and decided to keep programming with a broken compiler.
    i thought the two problems were seperate, i'm sorry if im flooding the board with noob questions, but really I have no other place to ask them, and i appreciate the help
    Last edited by kdufa; 03-01-2011 at 09:08 PM.

  7. #7
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,638
    Sure if following you is reading the forum page. Anyway, you should address the other problem you posted about.

    It's hard for me to explain this properly but if HelloWorld and SayHello are actually stored in the same directory than you have to clean one project before you can compile the other.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 2
    Last Post: 08-15-2010, 08:41 PM
  2. VS2010 vs VS2008
    By zacs7 in forum General Discussions
    Replies: 29
    Last Post: 06-13-2010, 02:40 AM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. Dynamic Binding
    By gpr1me in forum C++ Programming
    Replies: 1
    Last Post: 03-24-2006, 08:01 AM
  5. DJGPP project problems
    By VirtualAce in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 06-08-2002, 07:16 PM

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