In Borlandīs Visual C++ 5 itīs impossible to use such functions as outpw,inpw, etc.. because they no longer exists. How can I write or read in/from hardware ports in this program? Is there a solution to my problem? Thank for your time.
In Borlandīs Visual C++ 5 itīs impossible to use such functions as outpw,inpw, etc.. because they no longer exists. How can I write or read in/from hardware ports in this program? Is there a solution to my problem? Thank for your time.
Well in C/C++ for UNIX systems it was easy!
all of the devices are stored in /dev
so all I did was open streams to all of them, OR took some of Linus's code and added to the hardware functions...
Otherwise all you can do is Program a Chip and sodder it on...
For Windows and other systems, I dont know, I have had many questions similar to that but I could help them either, if you do find out lemme know at
[email protected]
Here is what it would look like
Code:ofstream a_device; a_device.open("/dev/eth0"); a_device<<//Yata yata BECAREFUL WHAT U ADD HERE, u coulld permemnantly kill the device! a_device.close();
HACKERS MANIFESTO (NOTE MOST WAS CUT OFF) (PEOPLE SAID IT WAS TOO LONG)
This is our world now... the world of the electron and the switch, the beauty of the baud.
· We make use of a service already existing withoutpaying for what could be dirt-cheap if it wasn't run by profiteering gluttons, and you call us criminals.
· We explore... and you call us criminals.
· We seek after knowledge... and you call us criminals.
· We exist without skin color, without nationality, without religious bias... and you call us criminals.
· You build atomic bombs, you wage wars, you murder, cheat, and lie to us and try to make us believe it's for our own good, yet we're the criminals.
Yes, I am a criminal. My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive me for.
I am a hacker, and this is my manifesto. You may stop this individual,but you can't stop us all... after all, we're all alike.
+++The Mentor+++
Same way you do for other Windows compilers:
See this thread from the Windows board.
Allegro precompiled Installer for Dev-C++, MSVC, and Borland: http://galileo.spaceports.com/~springs/