View Full Version : Windriver C++ Assistance
Nathan Powell
09-02-2013, 15:27
I've run into a slight issue--My team is in need of more workspaces to archive code with, but I never learned how to create new ones. May someone offer assistance? Any information on creating projects and .cpp/.h files would be useful, as well.
Nathan Powell
09-02-2013, 15:28
Note--I know how to create an example project; I would like information on creating other types of projects, please. The FRC manual is not very specific on this.
BradAMiller
09-02-2013, 17:40
The idea is to start with one of the samples that are provided in the C++ FRC distribution, then modify it into your program by adding all of your specific robot code.
You can get an idea by looking at this page:
http://wpilib.screenstepslive.com/s/3120/m/7913/l/79734-creating-a-robot-project
Brad
Nathan Powell
09-02-2013, 18:05
That I do understand. I use the templates there as bases for my code. Do you know how to create a new workspace? There can only be one of each example per workspace.
BradAMiller
11-02-2013, 11:22
If you go to the File menu, and select Switch Workspace, you can put in a path to a new workspace. It will create the directory, set it as your workspace, and Workbench will restart. Then you can start creating projects in the new place.
Brad
After you make an example project, you should rename it to something more appropriate and then you can make more while keeping them all in the workspace if needed.
And to add .cpp/.h files you would just do new file and name it with the right extension
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.