Quote:
Originally Posted by MamaSpoldi
the C++ STL is clunky, but we don't use that in our robot code so this is kind of irrelevant.
|
I did use it last season. It's not irrelevant if you plan on making a complex program, unless you want to roll your own lists/maps/etc
Quote:
Originally Posted by MamaSpoldi
If you already know Java, C++ is the next step in your learning process. I think the biggest mindset change is that C++ is pass by value and Java is pass by reference. This is related to pointers (indirectly) and it basically means that you cannot modify a parameter to a C++ routine unless you pass a pointer to the value.
|
Keep in mind that to someone who doesn't already know C++, this statement may be confusing.
Basically, the general idea is that C++ provides several ways to store, transfer, and access data while in Java there's only one way. You don't really need to know this unless you plan on learning C++