The following program uses the arc namespace to create a CController object
and use it to open and close the device driver for pci device 0.
#include "CController.h"
int main()
{
arc::CController cController;
cController.GetDeviceBindings();
cController.OpenDriver( 0 );
cController.CloseDriver();
}
OR we could use the namespace globally:
#include "CController.h"
using namespace arc;
int main()
{
CController cController;
cController.GetDeviceBindings();
cController.OpenDriver( 0 );
cController.CloseDriver();
}