Search:

Type: Posts; User: Rykaerdoe

Search: Search took 0.00 seconds.

  1. best way to clear a directory and sub/files

    Heya :D

    in Linux, i can use rm -f, its a recursive use of unlink (for files) and mkdir (for directories) that will erase everything inside a directory well thats on the bash, now in c, is there...
  2. Replies
    5
    Views
    1,049

    nnooooo :p thanks i am a moron. lol warnings...

    nnooooo :p

    thanks i am a moron. lol warnings are gone now :D
  3. Replies
    5
    Views
    1,049

    eh sorry :) Warning: assignement makes pointer...

    eh sorry :)

    Warning: assignement makes pointer from integer without a cast

    before:


    a=(struct Ent *)malloc(sizeof(struct Ent));

    after
  4. Replies
    5
    Views
    1,049

    warning on non casted malloc

    After reading some posts and checking the FAQ i understood i shoulnt cast the malloc. So i happily removed all the casts of my mallocs on the prog i am working in, but i got 1 warning for each lol.
    ...
  5. Replies
    2
    Views
    952

    Yes, with your explanation now the values are not...

    Yes, with your explanation now the values are not lost when the function ends :D

    Thanks
  6. Replies
    2
    Views
    952

    not sure what the prob is

    Hello :D

    i wont write the code as it is too big i will just explain lol

    so i define a struct, create a pointer (will call him e) of that struct type, do a malloc with size of 1 struct (just for...
  7. Thread: sock_stream

    by Rykaerdoe
    Replies
    1
    Views
    2,678

    sock_stream

    I must admit i am lost, or at least confused.

    When i am using TCP with sock_stream the protocol does not limit the messages (thats what i understood) so if i send a stream with let say
    ...
  8. Replies
    2
    Views
    838

    use various files

    Hello,

    I used the search but i guess the question is too stupid to ba asked lol

    Until now all the progs i wrote in C were in a big fat file. But now i would need to separate them in various...
  9. Thank you so much >.< will post how it goes :D

    Thank you so much >.<
    will post how it goes :D
  10. New to the forum and have already a question >.

    First of all,

    Hi :)

    A little introduction, (hope its not totally out of topic), i am a student at Lisbon at the Faculty of Science of the University of Lisbon, takin a degree in software...
Results 1 to 10 of 10