a 10 yr old kid trying to learn C++

This is a discussion on a 10 yr old kid trying to learn C++ within the C++ Programming forums, part of the General Programming Boards category; what does it mean when it goes --------------------Configuration: world1 - Win32 Debug-------------------- Compiling... StdAfx.cpp Compiling... world1.cpp world1file.cpp c:\my documents\world1\world1file.cpp(7) : ...

  1. #1
    Unregistered
    Guest

    a 10 yr old kid trying to learn C++

    what does it mean when it goes

    --------------------Configuration: world1 - Win32 Debug--------------------
    Compiling...
    StdAfx.cpp
    Compiling...
    world1.cpp
    world1file.cpp
    c:\my documents\world1\world1file.cpp(7) : fatal error C1010: unexpected end of file while looking for precompiled header directive
    Generating Code...
    Error executing cl.exe.

    how can i solve it to get my program working?

  2. #2
    Pygmy Monkey ErionD's Avatar
    Join Date
    Feb 2002
    Posts
    408
    Post your code.
    Preferably within [c o d e] [/c o d e] tags

  3. #3
    the hat of redundancy hat nvoigt's Avatar
    Join Date
    Aug 2001
    Location
    Hannover, Germany
    Posts
    3,138
    You need to state which version of Visual C you use, so we can tell you which menu you need to select in order to get a window where you can turn off precompiled headers.

    Shortcut: #include "stdafx.h"
    hth
    -nv

    She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate."

    When in doubt, read the FAQ.
    Then ask a smart question.

  4. #4
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,831
    In the project settings there is an option to turn off pre-compiled headers. It'll take longer to compile your program though.

    *** EDIT ***

    Afternoon Niels! Little concurrency again!
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Array help
    By Oklaskull in forum C Programming
    Replies: 19
    Last Post: 03-11-2008, 04:15 PM
  2. Looking to learn C++
    By Fuzzy91 in forum C++ Programming
    Replies: 40
    Last Post: 04-13-2006, 02:38 AM
  3. Advice on how to being to learn C++
    By VenomUK in forum C++ Programming
    Replies: 9
    Last Post: 05-18-2002, 01:06 PM
  4. Heaps...
    By Nutshell in forum C Programming
    Replies: 14
    Last Post: 04-23-2002, 08:54 AM
  5. Formatting Output
    By Unregistered in forum C Programming
    Replies: 6
    Last Post: 03-26-2002, 12:33 AM

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