November 30, 2002 problem running first program | ||||
---|---|---|---|---|
| ||||
getting this message when i run dmc test.cpp or sc test.cpp from c:\dm\bin - link test,,,user32+kernel32/noi; - my simple test.cpp program is #include <stdio.h> #include <iostream.h> main() { cout << "Yo!"; } any ideas? |
November 30, 2002 Re: problem running first program | ||||
---|---|---|---|---|
| ||||
Posted in reply to roy | In article <asav18$1lch$1@digitaldaemon.com>, roy (roy_member@pathlink.com) says... > getting this message when i run dmc test.cpp or sc test.cpp from c:\dm\bin - link test,,,user32+kernel32/noi; - my simple test.cpp program is > > #include <stdio.h> > #include <iostream.h> > > main() > { > cout << "Yo!"; > } > > any ideas? If the message you get is "link test,,,user32+kernel32/noi;", then that is normal. I'm a little surprised you get that far because what you have shown is not a C++ program. In C++, there is no implicit return type for functions and your code is not a valid instance of the language. -- -Larry Brasfield (address munged, s/sn/h/ to reply) |
Copyright © 1999-2021 by the D Language Foundation