You only have to do the subnetting if the router doesn't support Network Address Translation, or NAT (most do support NAT). With NAT, all you have to do is set the PCs to use a dynamically assigned IP (DHCP).