adruino and pc wifi connection

can anyone help me with a program to get an adruino, pc , and wifi to collaborate together and communicate with each other. tried several different types of basic c programs is there an easier way or can i use use C++
if Anyone can give me soem advice thanks

Your Question is not clear.. Where to connect Wifi? With PC or With Arduino?

Sorry getting frustrated... i meant i am trying to get the arduino to communicate to the PC wirelessly using a WiFi shield. but am having problems trying to formulate a program that will give the PC the voltage and current from the device connected to the arduino. I know there is a WiFiShield_library but it doesn't seem to be doing anything to compile the program.. Any advice please Michael

Sorry there are two issues but you can help with either one I'd appreciate it