Thread: search in C++

  1. #1
    Registered User
    Join Date
    Dec 2004
    Posts
    205

    search in C++

    Hi,
    I wanted to search a local hardrive for all the currently installed programs. Is there any function or any tutorial to do that in C++. Thank you
    Amish

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    You can search the registry for programs that are registered with the system, as that would probably be a better option than just scanning C: for every *.exe file.

    Messing with the registry can cause severe damage to you system if you're not careful, so make sure you know what you're doing before you do it. With that said, you'll be able to find information on how to do that at MSDN. I recommend using google to search MSDN (so does MSDN, actually). Just precede your search terms with "msdn".

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Logical errors with seach function
    By Taka in forum C Programming
    Replies: 4
    Last Post: 09-18-2006, 05:20 AM
  2. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  3. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 09:40 PM
  4. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM