1 Replies - 463 Views - Last Post: 12 February 2009 - 04:07 AM Rate Topic: -----

#1 muna_bukhari  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 11-February 09

Readimd from serial port in C++

Posted 11 February 2009 - 04:29 PM

[code]

#include<stdio.h>
#include<conio.h>
#include<dos.h>
#include<iostream>
using namespace std;

void main()
{
char data;

data=outport(0x3f8);
printf("reding from COM1::%d",data);


getch();
}
Is This A Good Question/Topic? 0
  • +

Replies To: Readimd from serial port in C++

#2 horace  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 291
  • View blog
  • Posts: 1,900
  • Joined: 25-October 06

Re: Readimd from serial port in C++

Posted 12 February 2009 - 04:07 AM

what is your problem? what operating system and compiler are you using?

This post has been edited by horace: 12 February 2009 - 04:08 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1