Search:

Type: Posts; User: zanyspydude

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    947

    thank you SOOOO much for your help. I never...

    thank you SOOOO much for your help. I never would have seen it
  2. Replies
    2
    Views
    947

    Memory problem using malloc and free

    Hello,

    I'm writing the great shell repacement program. I am having a problem in that i get this error:



    i trace the error to this section of my code

    char *lookupPath(char *name)
    {
  3. Replies
    11
    Views
    1,213

    Thank you for your comments. This one i don't...

    Thank you for your comments. This one i don't quite understand. So workingName here is a pointer? I though i was returning a string here...
  4. Replies
    11
    Views
    1,213

    /* This function is passed in a name of a...

    /* This function is passed in a name of a executable file
    * or is given an absolute file path name and then
    * checks to see if it exists.
    * Returns the path name if found, or null if not
    *...
  5. Replies
    11
    Views
    1,213

    i get some warnings, but it runs :D thanks so...

    i get some warnings, but it runs :D thanks so much!!
  6. Replies
    11
    Views
    1,213

    how would i allocate memory for workingName? i...

    how would i allocate memory for workingName?
    i tried char *workignName;
    then your suggestion and got a segfault, just like i do when i run the strcat's
  7. Replies
    11
    Views
    1,213

    String trouble, VERY new C programmer

    Ok. I'm getting very confused. To be honest, C's pointers aren't totally clear to me (despite my reading EVERYTHING out there).

    I am trying to write a "shell" basically for hw (so hints please...
Results 1 to 7 of 7