Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    C file acces and directory prob

    Hi
    Im having trouble trying to figure out the source of the problem in a code i have written that emulates the unix ls command(getting a directory and printing all files in it). Im getting errors in regards to a function declaration in one of my header files and its prototype declaration in the respective program as well as pointer incompatibility in my scandir function. If anyone could explain where i went wrong and shed some light on the issue, that would be terrific. I have attached the code below for conveninece
    Attached Files Attached Files

  • #2
    New to the CF scene
    Join Date
    Jan 2004
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    the header file in question is attached below here. the function in question is the alphasort function
    Attached Files Attached Files


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •