Programming C# C++ (7) Delphi (617) Java (8) JavaScript (31) perl (9) php (4) VBScript (1) Visual Basic (1)
Exchange Links About this site Links to us 

|
General :: Programming :: C++
Articles:
This list is sorted by recent document popularity (not total page views).
New documents will first appear at the bottom.
Featured Article
fatal error C1010 - unexpected end of file while looking for precompiled header directiveQuestion: I try to compile a program with Visual C++ .NET (dot-net) which was originally written for the Apple Macintosh for Objective-C. I keep getting the following error message:
"fatal error C1010 - unexpected end of file while looking for precompiled header directive"
I looked into the header file but cannot find anything to be missing.
Answer: MFC programs use many libraries, requiring the use of many header files. To save time, the compiler tries to precompile most of these header files, and use the predigested data instead of reading through all of these header files on every compilation. There are a number of ways to do this. The standard method for MFC programs is to lump all of these common header file references into one header file ("stdafx.h"). If you just have to ask what "stdafx" means, it comes from the early name of MFC, which was AFX (application framework).
When compiling each source (.cpp) file, the compiler skips through the source code, looking for the directive:
#include "stdafx.h"
Once it finds this directive, it substitutes the precompiled header information and then begins compiling the rest of the file. If your source file doesn't contain this directive, you get the C1010 error described above.
The simple solution is to insert the include directive to your source file, before any other library references or other code.
|
| Most recent comments
2010-03-15 15:43:42:
by anonymous
in Dating Scams
on Dating scam artist Sindy Becky Green in Ashley, Ohio (Lagos, Nigeria):
look what she send me fake shit the pic the good one is from 2006 and she tell me she do it now there in that fucking nigerihahahahaahah ahahahahaahahhah fucking scamers
|
2010-03-15 15:16:52:
by anonymous
in Dating Scams
on Dating scammer Natalya from Osinniki, Russia:
esta persona, me contató a traves de hotmail. la carta es similar a lasque he visto en este forocon otros nombres vgr. nelly mukama . chequenla
Hola querida
¿Cómo estás bien hoy en ... read more
|
2010-03-15 15:16:33:
by anonymous
in Dating Scams
on Dating scammer Emmy David from Lagos, Nigeria:
lida mary is beggen me to send her money that her ex husband was a big drug user and use to beet her and ran off with her best friend and wants me to send her money becouse the hotel manger will not g ... read more
|
|
2010-03-15 15:12:23:
by anonymous
in Dating Scams
on Dating scammer ¡ARMENIAN CONNECTION!:
I from Poland here am also this Russian swindle moneying mafia is acting.
Elena
RosOmsk
lenaramb1@ramblerler.ru
|
2010-03-15 14:37:21:
by anonymous
in Dating Scams
on Dating scammer Olga:
@2010-03-15, 11:17:49
anonymous from Brazil
Bad_nude_performer278278@hotmail.com
|
2010-03-15 14:30:08:
by tallfrenchman74@hotmail.com
in about DelphiFAQ
on DelphiFAQ Site wide search function:
is she a scam?she contacted me and saw my profile on a dating site she seem nice but,i think she might of got caught in a scam of her own and she might be in trouble herself and needed help to leave a ... read more
|
2010-03-15 13:23:22:
by [hidden]
in Dating Scams
on Dating scammer Aleksandra:
My scammer is by far the prettiest, sadly she seems to have an identity crisis:
Good day!
Firstly let me to let you know who I am myself. My name is [quote]Nataliya[/quote] and I am live ... read more
|
2010-03-15 13:16:41:
by anonymous
in Dating Scams
on Scammer Jane Mabou from Ivory Coast, Africa:
EN REALIDAD NO SE QUE ESPERAN GANAR ESTAS CHICAS HACIENDO SEMEJANTES MENTIRAS BAI
|
2010-03-15 13:09:52:
by anonymous
in Dating Scams
on Dating scammer Anna:
Et même les camarades, pourquoi pas les recrutés
|
2010-03-15 11:57:06:
by anonymous
in Dating Scams
on Dating scammer Ekaterina:
And now the second photo.
Und jetzt das andere Foto.
|
|