hi, i m just a beginner in c language, and i m making a logic controlled project, i m making a gaming machine using AND and OR gate, and i want to create user interface by connecting the hardware to computer via parallel port and like for instance, tht a question will be displayed on computer's screen like for instance " what is the capital of norway"
so if user selects a then the message " sorry your answe is wrong"
and if user selects c logic 1 shoulg be transferred to pin 1 of AND gate to which we already have provided logic 1 so output will be 1 and then the questio will be displayed on screen " your gender"
and if its male then send logic 1 to another circuitry and a gift will slide and if its female then some other gift will slide.
i m a beginner in c language and my teahcer told me tht outport function is used to acess parallel port, but i m not able to make a program , can u guyz help or refer a site or book considering i m just a beginner in programming