|
-
Nov 4th, 2001, 07:12 PM
#1
Thread Starter
Lively Member
iostream :confused:
I cant get Iostream.h to work with visual studios. I get the error
c:\program files\microsoft visual studio\myprojects\testi\text1.cpp(2) : fatal error C1010: unexpected end of file while looking for precompiled header directive
Last edited by cogman; Nov 11th, 2001 at 03:13 PM.
-
Nov 4th, 2001, 08:00 PM
#2
you could solve this, but the brute force method is easier to explain:
Create a new project. Choose "empty project". Insert all your files into the project. Now it should work. I hate precompiled headers.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
Nov 4th, 2001, 08:10 PM
#3
PowerPoster
it shouldn't be capitalized. just do, #include <iostream.h>
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
USAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSAUSA
-
Nov 4th, 2001, 08:28 PM
#4
You can do 1 of two things....
1) At the top of the file that is giving you this error include the precompiled header ( eg. #include "stdafx.h" )
2) Go into the project settings and select the file that is giving you the error and change the settings so that it doesn't use a precompiled header.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|