Ya pluging directly in the computer (unless you got a very good soundcard on it) dosnt sound so good. I personally use an external sound card that I can plug in mic's and guitar cables. Then it goes in the computer with a usb cable.
You can get decent soundcards for 200$ Whats good about that is that you can bring that sound card anywhere with you and plug and record. Not everyone has a good soundcard on there computers :)