Diez B. Roggisch a écrit : > The code _generated_ by the java compiler, and the C++ compiler, is not the > issue here. If you as a programmer can write "a" + "b", its fine. Which is > a thing to reach in C++, a bazillion of string-classes have been > written.... > > > and in C++, you can do: > > char *a = "1"; > char *b = "2"; > char *c = a + b; > > But with a totally different, unexpected outcome.. I know where *I* start > laughing here.
That code doesn't even compile. And you shouldn't be using the char* compatibility strings in C++ if possible. -- http://mail.python.org/mailman/listinfo/python-list