Standard Serial Port Access

O

Otac0n

Is there an standards-compliant way to access the serial port?

I need this to potentially work on DOS 6/7 and *nix.

Your help would be appreciated.
 
M

Mike Wahler

Otac0n said:
Is there an standards-compliant way to access the serial port?

No, since standard C++ has no notion of 'serial port' or
any other particular hardware devices. All i/o is abstracted
as 'streams of characters'. You'll need a platform-specific
solution such as library extensions possibly included with
an implementation or a third-party library.

-Mike
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,431
Messages
2,571,677
Members
48,796
Latest member
Greg L.

Latest Threads

Top