These are basically 2 different frameworks.
Managed C++ makes use of the new C++ extensions that were added by Microsoft that allows you to use the .NET framework libraries. Managed C++ makes use of garbage collection and other features provided by the .NET framework and allows you to create .NET DLLs (assemblies) and executables that use the Common Language Runtime (CLR).
Then there is unmanaged C++, which is basically C++ as it has always existed. This is using STL, Microsoft Foundation classes (MFC) and plain old C++ the way
Bjarne S intended to create standard executables, DLLs and libraries. This does not use the .NET framework.
So the term C++ .NET can become vague, since Visual Studio 2003 .NET allows developing C++ applications with unmanaged and managed C++.
DAQmx includes a free .NET API as well as C API you can use to program the devices. If you have Measurement Studio 7.x, you will also get an MFC based C++ DAQmx API. If you are not using the .NET framework, then you would probably need to use the C or the MFC based C++ DAQmx API.
LYu already posted the path to where you might find the .NET examples. They use C# and VB.NET, but they give you an idea of how the API is set up.
For the C examples, look under C:\Program Files\National Instruments\NI-DAQ\Examples\DAQmx ANSI C.
If you have Measurement Studio 7.x, then you can find the unmanaged C++ DAQmx examples under C:\Program Files\National Instruments\MeasurementStudio70\VCNET\Examples\DAQmx
The documentation for the MFC C++ API is integrated into the VIsual Studio Help.
You can fins the DAQmx C reference by going to Start >> Programs >> National Instruments >> NI-DAQ >> NI-DAQmx C Reference Help.
We do not have any managed C++ examples.
Hope this helps. Let me know if I missed anything.
Bilal Durrani
NI