Problem after upgrading kevelop
Jens Dagerbo
jens.dagerbo at swipnet.se
Thu Jan 27 21:41:04 GMT 2005
On Wednesday 26 January 2005 07.51, Muhammad Rizwan Khan wrote:
Andreas is perfectly correct. This isn't valid C++ (anymore):
> #include <iostream>
> int main ()
> {
> cout <<"test"<<endl;
> }
It should be:
#include <iostream>
int main (int argc, char *argv[])
{
std::cout <<"test"<<std::endl;
}
these days.
Or, if you're lazy, you can do:
#include <iostream>
using namespace std;
int main (int argc, char *argv[])
{
cout <<"test"<<endl;
}
Both these examples should build for you. And it is in no way related to
KDevelop. ;)
jd
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list