How to get the sample code?

This is a discussion on How to get the sample code? within the C++ Programming forums, part of the General Programming Boards category; Hii I wanna list all the files and folders of a particular drive. Any sample codes available...for MS Windows I ...

  1. #1
    Registered User
    Join Date
    Jun 2009
    Location
    Bangalore,India
    Posts
    24

    How to get the sample code?

    Hii

    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
    Location
    Australia
    Posts
    3,459
    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, Cprogramming.com FAQ > Accessing a directory and all the files within it

    Note the win32 section.

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,592
    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.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

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, 10:21 AM
  2. Quick help on bool or while? Sample code...
    By Striph in forum C Programming
    Replies: 5
    Last Post: 01-12-2006, 03:05 PM
  3. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 03: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21