Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   Beginners Programming in C++ (http://www.chiefdelphi.com/forums/showthread.php?t=148073)

shui054 02-05-2016 20:58

Beginners Programming in C++
 
My team (FRC 1257) uses C++ to program the robot and I'd like to learn it. I've never really written code in anything except basic Python. Are there any good resources you know of to learning C++? Or how did you guys learn?

Any assistance would be amazing!

CalTran 02-05-2016 21:22

Re: Beginners Programming in C++
 
I've heard good things about Code Academy. Personally, I learned at a summer camp and subsequently took the C++ Intro class in college. You could look into a local community college and see if they offer a summer course or something.

As well, the WPI Library is a good place to start once you have a good handle on the basics of coding and want to know more about FRC specific applications.

rich2202 02-05-2016 22:26

Re: Beginners Programming in C++
 
https://www.edx.org/course/introduct...soft-dev210x-1

connor.worley 02-05-2016 22:58

Re: Beginners Programming in C++
 
learncpp.com has super comprehensive tutorials. Heavy on the text, but if you bear with it you'll learn a lot.

jmullins16 03-05-2016 00:23

Re: Beginners Programming in C++
 
As a new C++ programmer, I encourage you to look at RobotBuilder and the Command-based robot template provided in the FRC tools. RobotBuilder is a graphical interface that will provide a set of C++ template files that are easy to work in. Even with only basic C++ skills, you can get a drivetrain defined and implemented very quickly. It will let you focus on how to make your robot work using C++ since it sets up all the files and syntax for an organized project.

Mitchell C 03-08-2016 17:40

Re: Beginners Programming in C++
 
I've been working on a C++ guide on my team website http://www.bioniczebras.net/c++_guide.shtml
its not completely done but the only thing im still working on is the fancier auton verson. It uses Iterative as opposed to command based like most.

euhlmann 03-08-2016 18:27

Re: Beginners Programming in C++
 
I've found the most important part of learning C++ to be understanding how memory management works (that might just be because I came from a Java background though :) )

Once you have a somewhat firm grasp on C++, I highly recommend writing a basic robot program from scratch. Run it on a test bot if your team has one, or use the WPILib simulator.

Or you could always switch to RobotPy ;)


All times are GMT -5. The time now is 09:55.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi