Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_pre.php on line 387

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 337

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 339

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 341

Warning: Non-static method vBSEO_Storage::path() should not be called statically in ..../vbseo/includes/functions_vbseo_seo.php on line 343
cl.exe error

Results 1 to 8 of 8

Thread: cl.exe error

  1. #1
    Senior Member [deF]Extended.'s Avatar
    Join Date
    Jan 2007
    Posts
    378

    cl.exe error

    i've searched this for a long time, and i really havent got any answers even searching on Google or here(cU)

    i have no idea what it is, and i just want to get this working.

    Code:
    --------------------Configuration: scribble4 - Win32 Debug--------------------
    Compiling...
    main.cpp
    c:\program files\microsoft visual studio\myprojects\scribble4\main.cpp(7) : fatal error C1010: unexpected end of file while looking for precompiled header directive
    Error executing cl.exe.
    
    main.obj - 1 error(s), 0 warning(s)
    this is the coding i did.

    main.cpp
    Code:
    #include <iostream.h>
    int main()
    {
    cout << Hello World! << endl;
    return 0;
    }

  2. #2
    Senior Member
    Join Date
    May 2006
    Posts
    225

    Re: cl.exe error

    #include <iostream>

  3. #3
    Member R3bOrN's Avatar
    Join Date
    May 2007
    Posts
    91

    Re: cl.exe error

    Code:
    #include <iostream>
    using namespace std;
    
    int main()
    {
    cout << "Hello World!" << endl;
    return 0;
    }
    this should work :-)
    you can use it without "using namespace std;" as well
    Code:
    #include <iostream>
    
    int main()
    {
      std::cout << "Hello World!" << std::endl;
    return 0;
    }

  4. #4
    Senior Member [deF]Extended.'s Avatar
    Join Date
    Jan 2007
    Posts
    378

    Re: cl.exe error

    still the smae error
    Code:
    --------------------Configuration: Scribble - Win32 Debug--------------------
    Compiling...
    main.cpp
    c:\documents and settings\mona\my documents\my received files\microsoft visual studio\myprojects\scribble\main.cpp(8) : fatal error C1010: unexpected end of file while looking for precompiled header directive
    Error executing cl.exe.
    
    Scribble.exe - 1 error(s), 0 warning(s)

  5. #5
    Veteran Member
    Join Date
    Apr 2006
    Location
    Canada
    Posts
    748

    Re: cl.exe error

    Quote Originally Posted by [deF
    Extended. ]
    still the smae error
    Code:
    --------------------Configuration: Scribble - Win32 Debug--------------------
    Compiling...
    main.cpp
    c:\documents and settings\mona\my documents\my received files\microsoft visual studio\myprojects\scribble\main.cpp(8) : fatal error C1010: unexpected end of file while looking for precompiled header directive
    Error executing cl.exe.
    
    Scribble.exe - 1 error(s), 0 warning(s)
    If you&#39;re using VS .NET try including the stdafx header that the IDE generates.
    Code:
    <chaplja|> i'm taking over nixcoders
    <Smileman`> cool

  6. #6
    VIP null's Avatar
    Join Date
    Apr 2006
    Posts
    1,796

    Re: cl.exe error

    Apparantly cl.exe is the compiler part, so are you sure your copy is valid?


  7. #7
    Senior Member [deF]Extended.'s Avatar
    Join Date
    Jan 2007
    Posts
    378

    Re: cl.exe error

    yes, i installed MV 6.0 again, with full installation

  8. #8
    crx
    crx is offline
    Senior Member
    Join Date
    Oct 2006
    Posts
    208

    Re: cl.exe error

    Try compiling this...

    Code:
    #include	<iostream>
    #include	<stdlib.h>
    #include	<string>
    
    using namespace std;
    
    int main()
    {
    	/*
    	//Coutndown 10 to 0
    	double countDown;
    	for( countDown = 10; countDown >= 0; countDown-- )
    	{
    		cout << countDown << endl;
    	}
    
    	system("PAUSE");
    	*/
    
    	//Name Printer
    	string name;
    
    	cout << "After you press enter please Type your name witout spaces and press enter again" << endl;
    	system("PAUSE");
    	system("cls");
    
    	cin >> name;
    
    	cout << "Your Name Is " << name << endl;
    	system("PAUSE");
    	system("cls");
    
    	cout << "How GAY is that!" << endl;
    	system("PAUSE");
    
    	return 0;
    }
    [br]Posted on: June 01, 2007, 01:00:43 AM_________________________________________________
    Code:
    --------------------Configuration: scribble4 - Win32 Debug--------------------
    Compiling...
    main.cpp
    c:\program files\microsoft visual studio\myprojects\scribble4\main.cpp(7) : fatal error C1010: unexpected end of file while looking for precompiled header directive
    Error executing cl.exe.
    
    main.obj - 1 error(s), 0 warning(s)
    Also just thinking,
    Code:
    while looking for precompiled header
    also sounds like in your project settings, your using precompiled headers. Try changing the settings there also. Worst comes ot worst, speak to me on mSn tonight and send me your project, i&#39;ll take a look.

    Try the attached

Similar Threads

  1. Error
    By BlackGod in forum D3D
    Replies: 5
    Last Post: November 19th, 2008, 17:02
  2. Error?
    By Robbie-A-90-08 in forum Combat Arms Cheats
    Replies: 3
    Last Post: September 14th, 2008, 10:33
  3. Error? Please help
    By Agito in forum Combat Arms Cheats
    Replies: 6
    Last Post: August 27th, 2008, 09:13
  4. [ERROR] Enemy Territory error
    By lilandonaki in forum Enemy Territory Cheats
    Replies: 3
    Last Post: November 8th, 2007, 09:49
  5. ET error- recently new error that i have encountered
    By JohnnyD in forum Enemy Territory Cheats
    Replies: 10
    Last Post: July 10th, 2007, 01:22

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •