זה מה שכתבתי:
#include<iostream.h>
void main()
{
cout<<"asaf";
}עשיתי דיבאג
אבל הוא לא מאפשר לי לקמפל וזה מה שהוא כותב בדו"ח שגיאות אחרי הדיבאג
------ Build started: Project: 2311, Configuration: Debug Win32 ------
Compiling...
2311.cpp
.\2311.cpp(1) : warning C4627: '#include <iostream.h>': skipped when looking for precompiled header use
Add directive to 'stdafx.h' or rebuild precompiled header
.\2311.cpp(2) : warning C4627: '#include <iomanip.h>': skipped when looking for precompiled header use
Add directive to 'stdafx.h' or rebuild precompiled header
.\2311.cpp(3) : warning C4627: '#include <stdlib.h>': skipped when looking for precompiled header use
Add directive to 'stdafx.h' or rebuild precompiled header
.\2311.cpp(4) : warning C4627: '#include <time.h>': skipped when looking for precompiled header use
Add directive to 'stdafx.h' or rebuild precompiled header
.\2311.cpp(5) : warning C4627: '#include <math.h>': skipped when looking for precompiled header use
Add directive to 'stdafx.h' or rebuild precompiled header
.\2311.cpp(6) : warning C4627: '#include <conio.h>': skipped when looking for precompiled header use
Add directive to 'stdafx.h' or rebuild precompiled header
.\2311.cpp(276) : fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?
Build log was saved at "file://c:\Documents and Settings\user\My Documents\Visual Studio 2008\Projects\2311\2311\Debug\BuildLog.htm"
2311 - 1 error(s), 6 warning(s)
== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==
מה לדעתכם הבעיה
הרצתי תוכנית שהמורה שלי כתב שעובדת במקום אחר וזה מראה את אותה בעיה