You are here:

C++/Programming..

Advertisement


Question
QUESTION: Sir,
   I really wonder how to delete duplicate files in the hard disk using C++ programming! Can you give me such a program? Also I just want to implement Auto-spell check. Can  you give me an algorithm or a basic idea behind it?

ANSWER: I dont understand what you mean by "duplicate files" - maybe you can throw light on that. For spell check, see http://www.codeproject.com/cpp/spelldictionary.asp and http://en.wikipedia.org/wiki/Spell_checker, where you will get a number of excellent references. Hope this helps.

---------- FOLLOW-UP ----------

QUESTION: duplicate files: files with same name and extension

Answer
I suppose you mean two files are duplicate files if they have same name and extension but are in different directories? File system handling is platform dependent and hence not a part of the language standard. Once you get back to me with what exactly you want, I can respond.  

C++

All Answers


Answers by Expert:


Ask Experts

Volunteer


Amit Kumar

Expertise

I can answer Cplusplus language and library questions, including STL, ACE, Boost. I have a good background in Mathematics.

Experience

Programming in CPP for about 8 years. Industry experience of 4 years.

Education/Credentials
Bachelors and Masters in Computer Science from Indian Institute of Technology Delhi.

©2016 About.com. All rights reserved.