What I like about C++ are the Enums… I tried to use Java’s enums one time… But it wasn’t that, I wanted to have. I just wanted to have something like in C++, in Java Enums are classes. Why?!? Of course that has some advantages, but I don’t “use” them. Simply having an enum to make tons of "public static final int"s would be everything I want. Everything else is overkill for me…
But andyMak, starting with C++ is much harder anyways.
Fun fact: I used to try out C++ one time. My project built fine, until I somewhere (i didn’t know where) I wrote something my compiler didn’t like. Changeing ONE thing made (exactly) 108 (!!!) Compiler errors come up. I took me days to figure out, what my compiler (gcc) didn’t like -.-
Btw, did I already say that I hate headers? It’s like: “Hey you! Please write your classes/files twice
thank you !”…
Believe me, just stay with Java. Java gives you the most nice Error handling thingie. You get NullPointerExceptions, which are - by far - better than writing C++ code and then figuring out something goes wrong because there is some Object missing. Everything does so strange things then. Also, Java does not allow you to try to access “uninitialized” memory. That means these bytes you have, have still got the value someone set it to, which is mostly some random value or 0. Made me cracy one time.
I think it is possible to get along with C++… But you have to have a lot of patience.