title: Separate translation units
body: <p>While asking another question I was told about the possibility of using separate translation units (files), since my current code seems to be unable to compile due to it being too large.</p>
  
  <p>Now I've been looking at how to use separate translation units, but to be frank I don't even know where to get started. If I had only a main.cpp file at the moment and I wanted to split it into for example 3 parts, where there would be one "variables1.cpp", one "variables2.cpp" and one main.cpp where it does the calculations etc, how would I do that using visual studio?</p>