C/C++ Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingC/C++ Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old May 15th, 2005, 11:25 AM
adrianteh adrianteh is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 3 adrianteh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 3 sec
Reputation Power: 0
Question visual studio.net users. pls help

hi all,

ive just installed visual studio.net and appoint compiling my 1st program,
it return an error.

calprime.cpp

c:\Documents and Settings\user\My Documents\Visual Studio Projects\calprime\calprime.cpp(29) : fatal error C1010: unexpected end of file while looking for precompiled header directive


the code is a simple code, i doubt the error has anything to do with the code. what does this error means?
any advice? thanks

Reply With Quote
  #2  
Old May 16th, 2005, 12:23 PM
pmcnamee pmcnamee is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Feb 2005
Posts: 13 pmcnamee User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 12 m 52 sec
Reputation Power: 0
What language are you coding in?
In C++ and C# this error message is often due to a missing curly brace.

Reply With Quote
  #3  
Old May 16th, 2005, 03:05 PM
adrianteh adrianteh is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Posts: 3 adrianteh User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 40 m 3 sec
Reputation Power: 0
Quote:
Originally Posted by pmcnamee
What language are you coding in?
In C++ and C# this error message is often due to a missing curly brace.


it is coded in C++. ive checked and found no error in braces.
ive tried all code examples and result in the same complilation error.

is there a setting to the application that i misconfigured, perhaps?
also, what is a "precompiled header directive" ?


adrianteh

Reply With Quote
  #4  
Old May 20th, 2005, 01:41 PM
ShadowCoder ShadowCoder is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: May 2005
Location: Ottawa
Posts: 20 ShadowCoder User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 54 m 12 sec
Reputation Power: 0
Is there a semi-colon ( at the end of the class brace in the header file?

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingC/C++ Help > visual studio.net users. pls help


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT