Thread: "Searching" for an answer

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    11

    Question "Searching" for an answer

    I am trying to make a program that will search the computer and any storage devices plugged into for specific files, like .txt or .mp3.
    First what would be the best code to use, and where would be a good place to learn more about this type of program?

    Thanks.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well to start with, which OS and compiler are you using?
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    11
    I am in windows, and using Microsoft visual studio 2008, and i should have said what language would be best instead of code, I'v really only worked with C++. I am not afraid to try others though.
    Last edited by mjb2287; 06-26-2010 at 03:49 AM. Reason: typos

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Start with a list of drive / devices
    win32 enumerate drives - Google Search

    Your choice of language doesn't really matter.
    It's the APIs provided by your OS which matter.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Hi, Quiz C program Assignment updated
    By Eman in forum C Programming
    Replies: 19
    Last Post: 11-22-2009, 04:50 PM
  2. Stupid problem probably has a stupid answer...
    By hardcorpsems in forum C Programming
    Replies: 2
    Last Post: 11-01-2009, 06:15 AM
  3. Replies: 4
    Last Post: 10-29-2003, 01:18 PM
  4. getting weird answer when not using ".h"
    By CobraCC in forum C++ Programming
    Replies: 10
    Last Post: 05-07-2003, 06:21 AM
  5. Replies: 22
    Last Post: 11-08-2001, 11:01 PM