There is a huge difference.
Language syntax is similar, but C++ compiles down directly to a machine instructions, and runs natively on the underlying platform.
As you can guess, different systems have different compilers, and implementations of the lanugage, and there is no guarantee that C++ program that's written for one platform will perform on another. That's why C++ has got so many cross-platform libraries to make the transition easier.