title: Get OSVersion in Windows using C++
body: <p>I have to get the <code>OSVersion</code> of my <code>Windows8</code> System (version should be <code>NT 6.2</code>) to use in a C++ application. I tried using <a href="https://msdn.microsoft.com/en-us/library/windows/desktop/ms724439%28v=vs.85%29.aspx" rel="noreferrer"><code>GetVersion</code></a> function call. but it returned me a raw value like <code>602931718</code>. Is there some way by which I can get the versions as listed <a href="http://en.wikipedia.org/wiki/List_of_Microsoft_Windows_versions" rel="noreferrer">here</a> or how can I convert this raw value to a readable form?</p>