Helps auto scale c++ code