I would say follow the steps outlined in "FRC C++" on this page:
https://wpilib.screenstepslive.com/s/4485/m/13810. Follow the steps to crate a program based on the Simple Template. Next take a look at the "FRC C++ Basics" section on the same page.
For basic C++ syntax, there are probably thousands of tutorials out there. One I like is
http://www.learncpp.com/