Problem adding c++ to perforce project

You need a perforce client to do this the ordinary way.
Grab it here:
Perforce 20 User Downloads
you might also check out this:
Visual Studio Plugin

Then connect to your workspace, and check out the file(s) you need.