if I add a .cpp file, Serial becomes unusable
A CPP file isn't an Arduino file. It doesn't know about anything Arduino-esque unless you tell it about it.
The simplest way is to just add, at the top of the file:
#include &lt;Arduino.h&gt;