Thread: Starting C++
View Single Post
  #10   Spotlight this post!  
Unread 15-07-2011, 10:22
JesseK's Avatar
JesseK JesseK is offline
Expert Flybot Crasher
FRC #1885 (ILITE)
Team Role: Mentor
 
Join Date: Mar 2007
Rookie Year: 2005
Location: Reston, VA
Posts: 3,659
JesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond reputeJesseK has a reputation beyond repute
Re: Starting C++

Quote:
If you already know Java you're well on your way
Caveat this with "sorta", as in the concepts of loops, logic, etc all work very similarly between Java and C++.

Yet in Java you can't pass by reference, do void pointers, reference a method as a memory location, do shared memory across processes, etc. Some of this makes for nifty-efficient robot code, some of it doesn't. None of it matters for getting started in FRC, however. So long as the code runs the robot, 5-10% efficiency doesn't really matter.

More stuff here for those who think they know Java. I sure learned several new things on that page, and I program both Java & C++ for a living.
__________________

Drive Coach, 1885 (2007-present)
CAD Library Updated 5/1/16 - 2016 Curie/Carver Industrial Design Winner
GitHub
Reply With Quote