Consider the platform.
Like he said, paltform must be taken into account.
For Cross-Platform, use Java. Why?
1) Open source, unlike J++ from Microsoft (if Sun would have taken the initiative and sued microsoft for closing an open platform, making it proprietary, and charging for it);
2) Java runs on top of byte-code, which is basically cross-platform compatible, and then use the compiler for that platform. C++, COBALT, etc compile to assembly code. (from the way it's been explained to me from my FCS teacher)
3) Java is usable on the Internet as well as standalone workstation, whereas you have to use Active X for the Internet, and C++ for the standalone machine (from the way it's been explained to me from my FCS teacher)
If I'm wrong, forgive me, those are the fragments i remember