Search:

Type: Posts; User: jspri

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,354

    nah, i just want "add" stored into a string...

    nah, i just want "add" stored into a string called commands, and then the rest of the line stored into my list.

    add hello my name is fred.
    scans in add
    and then "hello my name is fred" is first...
  2. Replies
    7
    Views
    1,354

    thanks, i fixed up the case statement and turned...

    thanks, i fixed up the case statement and turned it into if statements.

    My problem is i'm not sure how use the string in the structure called control.

    i scan in add and it goes to the add...
  3. Replies
    7
    Views
    1,354

    please help i'm screwed "linked list"

    hi, my desired output is something like this
    eros>>./robot
    >>>> >oops
    error: invalid command (oops)
    >>>> >print
    list is empty
    >>>> >add 100 100 get 5 bolts
    >>>> ...
  4. Replies
    8
    Views
    2,073

    all is good.

    thanks guys
  5. Replies
    8
    Views
    2,073

    Segmentation fault !, program works:S

    Hi, my program compiles but when i run it, i get segmentation fault ? can anybody help > thanks in advance.


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

    int main(void)
    {
Results 1 to 5 of 5