Using C++ and ctypes together: a vast conspiracy? ;)

A. Cavallo a.cavallo at mailsnare.com
Wed Jun 3 16:14:44 CEST 2009


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



More information about the Python-list mailing list