title: C++ + openmp for parallel computing: how to set up in visual studio?
body: <p>I have a c++ program that creates an object and then calls 2 functions of this object that are independent from one another. So it looks like this:</p>
  
  <pre><code>Object myobject(arg1, arg2);
  double answer1 = myobject.function1();
  double answer2 = myobject.function2();
  </code></pre>
  
  <p>I would like to have those 2 computations run in parallel to save computation time. I've seen that this could be done using openmp, but couldn't figure out how to set it up. The only examples I found were sending the same calculation (i.e. "hello world!" for example) to the different cores and the output was 2 times "hello world!". How can I do it in this situation?</p>
  
  <p>I use Windows XP with Visual Studio 2005.</p>