driffster is spot on. I just wanted to add that you don't need to include any libraries. All you do is do a 'Serial.begin(9600)' as usual for typical Arduino sketches, and then you'll be able to see the print, println and write serial messages via a USB to serial adapter (CH340, FTDI, or even an Arduino, etc) connected to pins 3 & 4.