Guest itmpm Posted February 9, 2003 Report Share Posted February 9, 2003 Hi. I can get gcc to compile c programs alright in Mandrake 9.0, but it throws a wobbly when I try to compile a c++ program. It points at the lines where cin, cout, etc. occur, and claims that they are undeclared. ??? What is this? Any help appreciated. Cheers, Matt Quote Link to comment Share on other sites More sharing options...
beesea Posted February 9, 2003 Report Share Posted February 9, 2003 the command for compiling a c++ prog is called g++. so i think you'll get those errors if you tried to use the command, gcc. Quote Link to comment Share on other sites More sharing options...
Guest itmpm Posted February 9, 2003 Report Share Posted February 9, 2003 Well, gee. I tried it, and it works! Thanks. Matt Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.