c++ - problem running first program
- roy (9/9) Nov 30 2002 getting this message when i run dmc test.cpp or sc test.cpp from c:\dm\b...
- Larry Brasfield (10/22) Nov 30 2002 If the message you get is "link test,,,user32+kernel32/noi;",
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?
Nov 30 2002
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)
Nov 30 2002