can any one give me an idea as how to get input from the port of pc using c++ or c and do actions based on the status of the signal given??
any useful links are welcome......