title: How to get system cpu/ram usage in c++ on Windows
body: <p>I know this question has been asked multiple times. I've looked around a lot, but I can't seem to find an answer.</p>
  
  <p>I did find this code <a href="https://stackoverflow.com/questions/282194/how-to-get-memory-usage-under-windows-in-c#comment16868612_8500024">How to get memory usage under Windows in C++</a>. But it will not compile, and all the other answers I've seen have been about how to get a single processes cpu/ram usage.</p>