On Wednesday 03 June 2009 14:05:35 Roy Smith wrote:
> #include <iostream>
> int main(int argc, char * argv[])
> {
>     std::cout << "SyntaxError: can't assign to function call";
>     std::cout << endl;
> }

Ops,
I've forgotten ....

a.cpp: In function ‘int main(int, char**)’:
a.cpp:5: error: ‘endl’ was not declared in this scope

Oh C++ joy!



Regards,
Antonio
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to