compile goes crazy???

This is a discussion on compile goes crazy??? within the C++ Programming forums, part of the General Programming Boards category; Alright I've taken a cource on C++ so I am not completly dumbfounded. Here's what we got: (See attachment. Don't ...

  1. #1
    human jerkey dead_captain's Avatar
    Join Date
    Jan 2008
    Location
    509
    Posts
    37

    compile goes crazy???

    Alright I've taken a cource on C++ so I am not completly dumbfounded.

    Here's what we got:

    (See attachment. Don't know code tags yet.)

    I am pretty sure the code is right, yet when I go to compile this tab called cstddef rears its ugly head going on about #include <stddef.h>.

    This has never happened before, how can I make it stop!?

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,739
    Don't know code tags yet.
    Just surround the code posted with [code] and [/code].

    I am pretty sure the code is right, yet when I go to compile this tab called cstddef rears its ugly head going on about #include <stddef.h>.
    Sounds like you're using a C compiler, compiling as C, or using an outdated C++ compiler.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    The larch
    Join Date
    May 2006
    Posts
    3,573
    Great program! What is end1, though?
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,548
    Yeah, great.
    Next time you decide to pollute the board with your profanity, it will be your last.
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C and C++ compile speed
    By swgh in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 01-02-2007, 01:37 PM
  2. Compile as you type
    By Rocketmagnet in forum A Brief History of Cprogramming.com
    Replies: 33
    Last Post: 12-07-2006, 12:36 PM
  3. How to compile mfc libs from platform sdk
    By tjcbs in forum Windows Programming
    Replies: 6
    Last Post: 11-19-2006, 07:20 AM
  4. Compile crashes certain windows
    By Loduwijk in forum C++ Programming
    Replies: 5
    Last Post: 03-26-2006, 08:05 PM
  5. open scene graph compile issues
    By ichijoji in forum Game Programming
    Replies: 1
    Last Post: 08-04-2005, 12:31 PM

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