Is there a way to access specific addresses, for example, setting output bits on the parallel port? Would it involve the use of I/O streams or is there a direct way of doing it (kindof like Assembly code OUT AAAA,DDDD?
You may use reinterpret_cast<any*>(int) to obtain a pointer from an integer. But modern Windows have forbidden your application to access hardware i/o ports via that pointer (except from driver level)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.