how do i controll hardware devices such as the dvd rom and the hard disk using c++?

Please support our C++ advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2006
Posts: 647
Reputation: jaepi is an unknown quantity at this point 
Solved Threads: 4
jaepi's Avatar
jaepi jaepi is offline Offline
Practically a Master Poster

how do i controll hardware devices such as the dvd rom and the hard disk using c++?

 
0
  #1
Apr 30th, 2007
im a beginner in c++ language, it is my first time to handle c++ (because im a java programmer)...part of my training in c++ is to create a dvd controller that will open, close, write and eject the media(preferably cd-rw), and of course, be able to get the files to be burn in the hard disk, in the linux environment...any of you here knows a tutorial for a poor noob like me...i need to know the commands to be used in linux and how to combine them in c++...a tutorial would be nice...thank you
Reply With Quote Quick reply to this message  
Join Date: Aug 2005
Posts: 15,672
Reputation: Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute Ancient Dragon has a reputation beyond repute 
Solved Threads: 1502
Team Colleague
Featured Poster
Ancient Dragon's Avatar
Ancient Dragon Ancient Dragon is online now Online
Still Learning

Re: how do i controll hardware devices such as the dvd rom and the hard disk using c++?

 
0
  #2
Apr 30th, 2007
Investigate the ioctl function. But you'd better be prepared for some very advanced c programming.
Last edited by Ancient Dragon; Apr 30th, 2007 at 8:32 am.
Don't PM me with questions -- you might get a nasty PM in response. If you have a question then post it in one of the forums.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 788 | Replies: 1
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC