Hello,
We provide examples in both Visual C++ and ANSI C separately because they are different in nature. ANSI C is a procedural language...when programming on it the general method of solution is to break the task into successively smaller subtasks (top-down design.)
C++ is an object-oriented language. In C++ generally the first step is to design classes that are abstractions of physical objects. These classes contain both the state of the object, its members, and the capabilities of the object, its methods. After the classes are designed, a program is written that uses these classes to solve the task at hand.
In order to use DAQmx on VC 6, I would encourage you to look at the NI-DAQmx C Reference Help (it installs with NI-DAQ.)This help contains all the information you should need to program DAQmx in C, it explains NI-DAQmx concepts, functions, properties, etc. You can find this help by going to Start >> Programs >> National Instruments >> NI-DAQ.
Hope this helps,
LA