Visual Studio Disk Spike

I’m trying to code in C++, but whenever I create a new C++ class, specifically on the C++ class files alone, my disk load spikes to untenable levels. I do not know what’s causing it, and I was hoping someone here has had a similar issue and/or know what causes this. Thanks.