Re: Antw: [Dev-C++] I/O port in Dev-C++
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Cesare P. <pad...@in...> - 2002-10-29 20:56:50
|
At 15:31 29/10/2002 +0100, Frank Wagner wrote: >Hello Cesare, > >to use the serial ports with DevC++ depends on the compiler to use >with. >As far as I know (but I'm not sure) with borland these functions are >included >in the conio.h. >There is also a conio.h that comes with the DevC++ IDE written by >Hongli Lai but I don't know whether it will compatible with borland. > >I use the cygwin system because of the ability to port these >applications to unix systems. >With cygwin the required funktions are in termios.h and fcntl.h > >If you are interested in I can send you a little example that uses the >cygwin system. It would be nice ... I use Mingw compiler. Thanks, Cesare > >Greetings > >Frank > >>>> Cesare Padovani <pad...@in...> 10/29 1:10 >>> >Does anyone know how to write to and read from an i/o port? > >In the dos version of Borland C++ there were the functions: > >void outport(int portid, int value); >int outp(int portid, int byte_value); > >located in dos.h. > >What about Dev-C++ in this area? > >Regards, Cesare Padovani > > > >------------------------------------ >Cesare Padovani >Dipartimento di Ingegneria Elettrica >Universita' degli Studi di L'Aquila >Italy >Tel. +39-0862-434432 >Fax +39-0862-434403 > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Dev-cpp-users mailing list >Dev...@li... >TO UNSUBSCRIBE: http://www.noicys.cjb.net/devcpp/ub.htm >https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > > ------------------------------------ Cesare Padovani Dipartimento di Ingegneria Elettrica Universita' degli Studi di L'Aquila Italy Tel. +39-0862-434432 Fax +39-0862-434403 |