Hi,
The link provided seems to point to a .BAS file. Those are typically used in VB and not in C++. There should be some examples of GPIB operations in VC++ in the NI-488 directory. Look there for some communication examples. To write and read to the instrument, simply look for the commands necessary in the user manual, or take a look at the drivers at www.ni.com/idnet for the syntax of your device. We have two drivers already made, one for LabVIEW and one for CVI. These may give you some assistance.
Hope this helps out!
Best Regards,
Aaron K.
Application Engineer
National Instruents