hi everyone.........
i need a c++ program that can help me in chatting through serial port from one pc to another........
only i want to sen and recieve charactors..........
thank you........
daniyal_riaz 0 Newbie Poster
Recommended Answers
Jump to Post— Salem 6,009This has been discussed many times before, even quite recently.
Plus you need to tell us which Operating system and Compiler you're using, since standard C++ knows nothing about serial ports.
Jump to Post— Salem 6,009> i m using standard c++
Great, that really clears things up for us :icon_rolleyes:> i need a complete program on it.
I'm sure you do.
And I'm also sure I could post one which works on my machine, but does nothing on yours.
Why, because you've not …
Jump to Post— Salem 6,009OK, so post one of your programs and lets see what we can make of it.
Oh, and drop all the ... at the end of each line, it's not adding anything.
Jump to Post— Jishnu 160CODE 1:
#include<stdio.h>
#include<conio.h>
#include<bios.h>
#include<time.h>
#include<dos.h>void main(void)
... and many others...
i m using standard c++.........
(!!!)
I bet you're kidding.Try formatting your code properly. That would make ot more readable and comprehendable. And codes similiar to this one are written for DOS based C++ compilers. …
All 14 Replies
Salem 6,009 Posting Sage
daniyal_riaz 0 Newbie Poster
#include<DAN.h> -4 Light Poster
Salem 6,009 Posting Sage
Jishnu commented: Absolutely :) +2
daniyal_riaz 0 Newbie Poster
Salem 6,009 Posting Sage
daniyal_riaz 0 Newbie Poster
Jishnu 160 Posting Pro
Salem 6,009 Posting Sage
daniyal_riaz 0 Newbie Poster
dot.muffin 0 Newbie Poster
Salem 6,009 Posting Sage
daniyal_riaz 0 Newbie Poster
dot.muffin 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.