Search:

Type: Posts; User: EvilBaby

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    1,531

    Writing to a Binary File

    How do you write to a Binary File, compared to an Ascii file?
  2. Thread: Sockets

    by EvilBaby
    Replies
    6
    Views
    1,600

    I don't suppose anybody had an example or a...

    I don't suppose anybody had an example or a tutorial on how to use htonl and htons?
  3. Thread: Sockets

    by EvilBaby
    Replies
    6
    Views
    1,600

    ok thanks.

    ok thanks.
  4. Thread: Sockets

    by EvilBaby
    Replies
    6
    Views
    1,600

    Sockets

    I'm doing this assignment and one question is

    name socket using wildcards.

    What exactally is this question? I'm sorry if this sounds stupid but I have no idea what is meant by 'wildcards'.
  5. Replies
    11
    Views
    1,709

    it is when you were tyring to do it the way I...

    it is when you were tyring to do it the way I originally thought I had to. See I'm new at this so I started off by going to the last element, free, that, then go through the list to the last element...
  6. Replies
    11
    Views
    1,709

    thanks for the help

    thanks for the help
  7. Replies
    11
    Views
    1,709

    just out of curiosity should this work ...

    just out of curiosity should this work




    while (current != NULL)
    {
    if (current->next != NULL)
    {
    temp = current->next;
  8. Replies
    11
    Views
    1,709

    damn, my link list is 45 000 + links, this is...

    damn, my link list is 45 000 + links, this is gonna take a while
  9. Replies
    11
    Views
    1,709

    Free a link list

    To free the memory of a link list so I have to travel though each node and free it?
  10. Thread: gdb

    by EvilBaby
    Replies
    12
    Views
    1,387

    no I'm on linux redhat 9.0 The reason I don't...

    no I'm on linux redhat 9.0

    The reason I don't have error checking is because I'm just trying to get some basics out of the way. I will put it in but later.
  11. Thread: gdb

    by EvilBaby
    Replies
    12
    Views
    1,387

    arrrgg, The file does exist but I'm limited...

    arrrgg,

    The file does exist but I'm limited to what compiler I'm allowed to use because it has to be able to run on the school lab computers.


    uhhh, I'm // has been working fine for me, I...
  12. Thread: gdb

    by EvilBaby
    Replies
    12
    Views
    1,387

    gdb

    Is it good for gdb to run successfully but not your program?


    For some reason I am getting a seg fault with my malloc and it is really annoying.



    Sorry if its bad code but I'm just learning...
  13. Replies
    3
    Views
    906

    Thanks for the interest in helping but I just...

    Thanks for the interest in helping but I just found it.

    I had int line[1] in my code for some reason. GRRRRR


    anywho I'm dropping the array idea and moving on to pointers.
  14. Replies
    3
    Views
    906

    very odd error

    I am trying to copy the contents of a Link List into an Array




    {
    of_wrds[cnt-newline][41];
    line[cnt-newline];
    flag[cnt-newline];
    current = head;
Results 1 to 14 of 14