Now,I have known that the easist way is not the best way.
the best way to make a program use the Multi-core tech in VS is to learn how to program Multi-thread programs.
I personally think that there are two easiest way to use Multi-core tech.
1. use threaded library, for example IPP, MKL.
Part of IPP function are inside threaded, so once you call the threaded IPP function in your MS VC program, nothing need to do, you will get multi-threading exe, which can run for instance, 2 threads on dual core automatically.
About how to use IPP in MSVS, you can see <<http://www.intel.com/support/performancetools/libraries/ipp/win/ia/sb/CS-021409.htm>>
2. to use OpenMP threading pragma.
for example,
#pragma omp parallel for
for (i=0;i<MAX;i++)
A[i]= c*A[i] + B[i];