Thread: how to programe directory system in C.

  1. #1
    Registered User
    Join Date
    Dec 2008
    Posts
    2

    how to programe directory system in C.

    good to see your reply soon!

    members i am learning C programing, my samester final project is windows (my own GUI) labeld DISK DRIVE directory system, that could explore computer directories, folders and sub folders, also files even.

    where i stand is that i am able to explore disk drive USING FIND FIRST AND FIND NEXT FUNCTION IN <DIR.H> AND <DOS.H>

    PROBLEM IS HOW TO EXPLORE ALL FOLDERS?????

    I AM SENDING MY CODING TILL NOW, HELP ME ON THIS EID AND GET MY PRAYZ!!!

    I NEED UR HELP
    GOOD BYE
    Last edited by Salem; 12-04-2008 at 09:43 AM. Reason: Remove code tags from prose - for a change

  2. #2
    Registered User
    Join Date
    Dec 2008
    Posts
    2
    Thanks !!!!
    Have A Nice Working.

  3. #3
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    So, instead of us trying to decode your 10KB of source code to understant what it is you want us to do, perhaps you can ask a more direct question?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

  4. #4
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    Okay, I had a look.

    One suggestion, learn C and start again with the modern times in mind (and perhaps a design).

    Perhaps some more intermittent suggestions:
    * Ditch Turbo C
    * Don't use dos.h
    * Don't use conio.h
    * Don't use graphics.h
    * Perhaps use a modern curses library like pdcurses (google it)
    * Use int main() -- see the FAQ
    * You have magical numbers everywhere, I have no idea what they mean
    * Don't copy and paste code from somewhere else (either that or use consistant tabs/spaces)
    * See the FAQ for how to list directory contents (in the modern world that is)

  5. #5
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    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. Basic system calls help.
    By AmbliKai in forum C Programming
    Replies: 5
    Last Post: 03-21-2008, 07:18 AM
  2. Problem With My Box
    By HaVoX in forum Tech Board
    Replies: 9
    Last Post: 10-15-2005, 07:38 AM
  3. School Mini-Project on C/C++ (Need Your Help)..
    By EazTerence in forum C++ Programming
    Replies: 4
    Last Post: 09-08-2005, 01:08 AM
  4. help needed with my programe
    By supernormal2 in forum C Programming
    Replies: 5
    Last Post: 12-11-2002, 10:57 PM
  5. Need Help
    By GSLR in forum C Programming
    Replies: 1
    Last Post: 02-05-2002, 12:20 PM