Windriver C++ Assistance

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.

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.

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

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.

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