Visual C++ Standard Konsole Projekt
-
hallo, hatte mal kurz ausprobiert, ein Konsole projekt zu schreiben.
ich hab folgende einstellungApplication type: Console application
Additional options: Precompiled header
kein ATL und MFC Zusatzund in stdafx.h sehe ich stdio.h eingebunden, das ist doch C header, wieso ist denn C header und nicht C++ header iostream standard eingebunden? und stdio.h soll man dann cstdio sein. also kann mir bitte diese sachen mal aufklaeren.
ach ja,hab visual C++ 2008
-
Lass die Precompiled Headers raus und erstell ein komplett neues Projekt. Anschließend fügst du ein neues Source File hinzu und nennst es Main.cpp
Dort kannst du nun vernünftig programmieren.
#include <iostream> int main() { std::cout << "Hello, World!" << std::endl; }