I have been asked to develop a s/w in C++
which will use Dial up to modem,
sending data, receiving data and showing response.
It will be running as a deamon program
on Linux and NT/Win2000.
I have similar program developed on linux and i know how to do the coding part.
What is the best way to approach coding so that I do not
have to write seperate source code for linux and windows.
It will be command line based program.
Please suggest me how is coding for different platform handled so that same souce code with proper OS related handling instruction is achieved. I am not willing to use DJGPP (http://www.delorie.com/djgpp/
). Please suggest any other ideas you have.