how do i write a c++ program ,to send and receive data from COM3 of my computer,i m using a turboc compiler
how do i write a c++ program ,to send and receive data from COM3 of my computer,i m using a turboc compiler
if your os is MS-DOS then you will need to either write your own device driver (most likely in assembly language) or buy one -- there may be some old shareware drivers, but don't know for sure. google for "ms-dos device drivers" and you will get some help.
you cannot use win32 api functions with that ancient compiler.
Boy, you sure do know how to spam the board - answers elsewhere.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.