If you use them fairly close to each other, all you need is a "crossover" cable.
Each computer needs a network card.
Then, connect the crossover cable to each computer.
To share files and internet access, both computers need to be part of the same work-group.
In networks, you need to verify that the Work group names are EXACTLY the same for each computer, and the computer names are unique. Then, enable file and printer sharing.
To share your internet connection, you need to install Internet Connection Sharing on the PC that connects to the internet. At the end of installing ICS, you have the option to create a client setup floppy. Create the floppy, and use it to setup the other PC as the ICS client.
Note: ICS is part of Windows 98 and newer. ICS should be installed on the computer with the newest version of Windows.
If you have DSL or cable, or the computers are far apart, I recommend using a Cable / DSL router with a built in switch.
There are links to home networking tutorials at www.wown.com
If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.
help me