code to turn on camera in visual C++ using openCV