HI,can anyone help me by telling how to copy a file from one drive to other say C to D.Thanks in advance.............

If you are using windows you can use the system command system("MOVE target dest"); or you can go to the MSDN website and use the winapi file moving function.

I have no clue how to move files on linux or other operating systems.

Be a part of the DaniWeb community

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