hello there, im new in c++...i need to know how to access files in the hard disk...im having a priject of controling hdd using linux and c++...my task is to create a program in c++ using linux that get's a file from the hard disk, check's if the memory of the cd is full, then write the files in cd...help pls...

Re: accessing the hard disc using c++ 80 80

look up iostream

Re: accessing the hard disc using c++ 80 80

getting files from HD is pretty easy -- as Walt said. Writing to CD is much more problematic because you can't use standard stream io on it but go through the CD's device driver. I don't know how that's done because I always use a commercial cd writer program.

Re: accessing the hard disc using c++ 80 80

Grab the source code for one of the existing CD writer applications for Linux, and study it thoroughly.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.19 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.