[solved] Ubuntu C++ <--> Mega2560 Serial Communication

PaulS:

I couldn't find a working code in the web.

Unbelievable.

Does anybody know, how to solve my problem?

Google again. Perhaps with a less narrow search. C++ on Ubuntu, windoze, etc. is the same.

What's windoze? I have never heard of it.