Snuffy is correct. But to go a little deeper, there are quite a few configurations.
First, I'm going to assume you at least have DVI (digital) outs on your computer. And you have either DVI, or HDMI (digital) ins on your TV or receiver.
You can get a DVI to HDMI cable, They are compatible as far as signal goes, its just that HDMI has audio (SPDIF) with the video.
If you have a SPDIF out of your computer you can get a DVI+audio to HDMI adapter and be all set.
If you have just standard audio it can get a bit more complex.
In most cases for TV or receivers you can specify an alternate audio input. So you just have to connect a mini TSR to RCA audio cable and you would be set.
But if your TV has a DVI in, all you need is to run the cables for the audio.
If you have an alternate sets of ins, let us know what is coming out from you computer, and what kind of tv or receiver you have.