Newb help

This is a discussion on Newb help within the C++ Programming forums, part of the General Programming Boards category; Hi I recently found this site while searching for a good programming site. I read the getting started page and ...

  1. #1
    Registered User
    Join Date
    Sep 2007
    Posts
    10

    Newb help

    Hi

    I recently found this site while searching for a good programming site. I read the getting started page and downloading the Dev-C++ compiler. I put the code into it to test it out and it came up with an error. I thought it might just be the compiler so I downloaded Code::Blocks this morning. I just tried running the code that was in the main.cpp to test it again and it came up with this error:

    mingw32-g++.exe: installation problem, cannot exec `cc1plus': No such file or directory

    Have I done something wrong such as check a box i shouldnt have done or something? Any help would be appreciated. Thanks ^_^

  2. #2
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,479
    Try unintalling it and re-installing it.
    I'm just trying to be a better person - My Name Is Earl

  3. #3
    Registered User
    Join Date
    Sep 2007
    Posts
    10
    I did that with the Dev but that didnt help. I'll try it though.

    EDIT: No that didn't help...
    Last edited by Darth_Paul; 09-01-2007 at 06:26 AM.

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    When you downloaded dev-c++, did you get the full package (the large one), or the small one (just the IDE).
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  5. #5
    Registered User
    Join Date
    Sep 2007
    Posts
    10
    ...I dont really remember because it was before I went on holiday a few weeks ago. But I wish to continue with the Code::Blocks one.

    I'm using Vista btw. Would that be causing this?
    Last edited by Darth_Paul; 09-01-2007 at 07:28 AM.

  6. #6
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,659
    code::blocks is just the IDE which wraps around the compiler.

    You could get the same compiler from http://www.mingw.org/ if you wanted to, but the advantage of getting the compiler with dev-c++ is that it's all in one handy executable file, so there is a lot less for you to do.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

  7. #7
    Registered User
    Join Date
    Sep 2007
    Posts
    10
    so I should try fixing Dev-C++? I still dont know how to do that though O_o

  8. #8
    Registered User
    Join Date
    Aug 2007
    Posts
    6
    Have you tried running the updater that's part of Dev-C++ ? It could be you need to update some of the components.. I think the updater is under the Tools menu.. maybe.

  9. #9
    Registered User
    Join Date
    Sep 2007
    Posts
    10
    All I could find was "check for update" under the hep menu. I clicked that and it said that there was a new version available. I'm gonna download this now to see if that helps.

    Okay, that seems to have helped. I just compiled and ran the code that was already in the thing when I started a new project and it worked. Thanks for the help guys ^_^
    Last edited by Darth_Paul; 09-01-2007 at 09:43 AM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Newb Question Character Counting
    By Wilder in forum C Programming
    Replies: 13
    Last Post: 06-22-2008, 11:37 PM
  2. Dogpile the newb!
    By lindy in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 05-23-2008, 08:17 AM
  3. Total newb directx invisable geometry question
    By -pete- in forum Game Programming
    Replies: 5
    Last Post: 08-13-2006, 01:45 PM
  4. Newb C++ Programmer
    By Philandrew in forum C++ Programming
    Replies: 8
    Last Post: 10-19-2004, 08:44 PM
  5. if your not newb you can help me
    By Klinerr1 in forum C++ Programming
    Replies: 6
    Last Post: 05-05-2002, 12:09 AM

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