Search:

Type: Posts; User: srm2888

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    2,152

    dirent.h d_name

    When using the dirent.h package, i am trying to manipulate the d_name char array but getting errors every time.

    Does anyone know how to successfully manipulate the d_name char array as if it were...
  2. Replies
    6
    Views
    1,225

    #include #include #include...

    #include <dirent.h>
    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    #include <stdio.h>


    int copyfile(char *fromfile, char *tofile)
    {
    FILE *ifp, *ofp;
  3. Replies
    6
    Views
    1,225

    How do i compile it? I wonder if i should just...

    How do i compile it? I wonder if i should just output cc -c struct->dname or something.
  4. Replies
    6
    Views
    1,225

    Ok, I figured out how to search the local...

    Ok, I figured out how to search the local directory or any directory for that matter.
    Mainly using <dirent.h>,

    I can't exactly figure out how to catch a file, like one that says (8.c) at the end...
  5. Replies
    6
    Views
    1,225

    Checking Directory and then Compiling

    USing a linux OS, which woud be the best way to look in a directory and then once i find code to compiling it.

    Mainly compiing and searching the directory for a certain file (*.c). What two...
Results 1 to 5 of 5