Thread: How to get the sample code?

  1. #1
    Registered User
    Join Date
    Jun 2009

    How to get the sample code?


    I wanna list all the files and folders of a particular drive.
    Any sample codes available...for MS Windows

    I got some codes from MSDN...but they are error-prone......

    Give me a link to them...

    Thanking you

  2. #2
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    How about... no.

    You might actually need to do some programming, rather than creating a program pasted together from sample code.

    If you cared to look, you would have noticed the FAQ has an entry on what you ask, FAQ > Accessing a directory and all the files within it

    Note the win32 section.

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    The edge of the known universe
    Already answered
    Any sample code availble? - C++
    Plus closed for multiple cross-forum spamming
    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. Pre-Interviewer asking sample code
    By jayee_spicyguy in forum C Programming
    Replies: 3
    Last Post: 02-09-2009, 11:21 AM
  2. Quick help on bool or while? Sample code...
    By Striph in forum C Programming
    Replies: 5
    Last Post: 01-12-2006, 04:05 PM
  3. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  4. stricmp() where can I view the sample code?
    By Unregistered in forum C Programming
    Replies: 5
    Last Post: 06-28-2002, 08:40 AM
  5. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 05:06 PM