Programmieren - alles kontrollieren 4.934 Themen, 20.613 Beiträge

Frage zu DJGPP

newbie / 1 Antworten / Flachansicht Nickles

ich habe versucht, das bekannte "Hello World" zu kompilieren mit dem dos-compiler djgpp.
hier der source-code:
#inlcude
using namespace std;
int main()
{
cout gcc hello.cc
hello.cc:1: undefined or invalid # directive
hello.cc: In function `int main()':
hello.cc:7: `cout' undeclared (first use this function)
hello.cc:7: (Each undeclared identifier is reported only once
hello.cc:7: for each function it appears in.)
kann mir da jemand helfen. wäre sehr froh.
vielen dank im voraus. (newbie)

Antwort:
hi.
'#inlcude' muss '#include' heissen und von einem dateinnamen gefolgt sein. (dem file das zu inkludieren ist)
WM_HOPETHISHELPS
thomas woelfer
(thomas woelfer)

bei Antwort benachrichtigen
Frage zu DJGPP thomas woelfer