VirtualWire and RadioHead libraries

Hi all,
I just got some RF transmitters and receivers and I decided to put them communicating. I checked this video: Arduino Tutorial #12: Wireless Communication - YouTube. It refers to VirtualWire, but at the site it says that VirtualWire was superceded by RadioHead. I would like to know how to use the transmitters and receivers with that library.

I'm using a 315Mhz and 433Mhz,

Best regards
José Coelho

it says to use radioHead like virtualWire.

Just swap out the library include in the code.

How exactly you just swap the library include?
Because i did it and it has commands like vw_set_tx_pin(transmit_pin) that aren't declared in this scope.
Plus, using the above command is that simple to change Tx and Rx pins, but in RadioHead, i can't find it.