title: Can I use 128-bit integer in MSVC++?
body: <p>I'm coding a C++/MFC application using Visual Studio 2010 and I need to maintain a cumulative <code>running total</code> that will be used to calculate an average transfer rate, as such:</p>
  
  <pre><code>//Let's assume that INT128 is a 128-bit integer type
  static INT128 iRunningTotal = 0;
  static INT128 iCounter = 0;
  
  LONGLONG iteration_get_current_average(LONGLONG iRate)
  {
      //May be called repeatedly...
      iRunningTotal += iRate;
      iCounter++;
  
      //Calculate the current average
      return iRunningTotal / iCounter;
  }
  </code></pre>
  
  <p>I searched for <code>C++ 128-bit integer</code> and pretty much everywhere people suggest using Boost library. Well, that's a possibility, but I'm not familiar with it and don't use it anywhere else in my project.</p>
  
  <p>So Boost aside, I'm curious, is there a way to do this with pure C/C++?</p>