Java is dirty coding. That's all I can say.
C++ is much more structured and much more strict on coding principles.
At least you know the basics of coding, so it's not really too hard to convert what you know from java to C++ as you already have core programming principles down (or one would hope).
It will take a bit of head scratching and patience to do so though.