Very, VERY Begginer's Question

This is a discussion on Very, VERY Begginer's Question within the C++ Programming forums, part of the General Programming Boards category; I dont know what im doing wrong here is what i do: #include <iostream.h> int main() { cout<<"HI"; return 0; ...

  1. #1
    Aki
    Aki is offline
    Registered User
    Join Date
    Nov 2002
    Posts
    5

    Very, VERY Begginer's Question

    I dont know what im doing wrong here is what i do:

    #include <iostream.h>


    int main()
    {
    cout<<"HI";
    return 0;
    }

    and i get this error:

    c:\program files\microsoft visual studio\myprojects\arg\arg.cpp(12) : fatal error C1010: unexpected end of file while looking for precompiled header directive
    Error executing cl.exe.


    Can anyone take the time to help me out?

  2. #2
    pronounced 'fib' FillYourBrain's Avatar
    Join Date
    Aug 2002
    Posts
    2,297
    visual studios I presume....

    Project / Settings / C/C++ / Precompiled Headers

    check the "Not using precompiled headers"
    "You are stupid! You are stupid! Oh, and don't forget, you are STUPID!" - Dexter

  3. #3
    Aki
    Aki is offline
    Registered User
    Join Date
    Nov 2002
    Posts
    5
    Yea thats it thanks a million!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Debugging question
    By o_0 in forum C Programming
    Replies: 9
    Last Post: 10-10-2004, 06:51 PM
  2. Question about pointers #2
    By maxhavoc in forum C++ Programming
    Replies: 28
    Last Post: 06-21-2004, 01:52 PM
  3. Question...
    By TechWins in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 07-28-2003, 10:47 PM
  4. Question about linked lists.
    By cheeisme123 in forum C++ Programming
    Replies: 6
    Last Post: 02-25-2003, 01:36 PM
  5. Question, question!
    By oskilian in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 12-24-2001, 01:47 AM

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