Search:

Type: Posts; User: Lau

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    7,058

    Thanks Dave for catching that... That doesn't...

    Thanks Dave for catching that...

    That doesn't begin to solve what doesn't work with that damn program!!!
  2. Replies
    10
    Views
    7,058

    well, the seg fault is gone... but it's not...

    well, the seg fault is gone... but it's not working correctly! I'm gonna go bang my head on the wall for a while. Doubt that'll help, but who knows:rolleyes:
  3. Replies
    10
    Views
    7,058

    Salem, so basically, what we have to do is...

    Salem,
    so basically, what we have to do is simulates an operating system, that created five user thread and a memory management unit (i'm not even here yet)
    We have to implement a round robin...
  4. Replies
    10
    Views
    7,058

    I have it declared once and only once. This error...

    I have it declared once and only once. This error didn't come up before I wrote in the maloc part, that's why I'm confused


    stdlib.h is in there and has been...


    yep... I just forgot that,...
  5. Replies
    10
    Views
    7,058

    oopsy... yes, there's an ampersand missing, and...

    oopsy... yes, there's an ampersand missing, and it's not voluntary



    what do you mean?

    I did allocate the memory... didn't I?
    ah crap.. no I didn't!!...
  6. Replies
    8
    Views
    2,016

    estranged, doraiashok is right here. ...

    estranged,

    doraiashok is right here. Basically, the only way you can get out of the loop the way you set it would be for gameCh to be equal to 1, 2, 3 and 4.... quite impossible!
  7. Replies
    2
    Views
    1,968

    I personally use gcc, and, even though I have no...

    I personally use gcc, and, even though I have no experience with any other, I think it's a good compiler!!
    Go with it... :D
  8. Replies
    10
    Views
    7,058

    seg fault on pthread_mutex_init

    Hi people!!

    I know this is short notice, but I've had this segmentation fault on a pthread_mutex_init (I'm almot 100% that's where it is), and I can't figure out why.

    in a header.h, I have

    ...
  9. Replies
    6
    Views
    1,427

    Go it Walt!! Thanks

    Go it Walt!!
    Thanks
  10. Replies
    6
    Views
    1,427

    Thank you Salem!! I actually works... :o) So,...

    Thank you Salem!!
    I actually works... :o)

    So, my porblem is fixed.
    But I still don't understand why the printf gave me a blank line before (??)
    -----------
    I found a littel flaw in this code...
  11. Replies
    6
    Views
    1,427

    Quzah, But if I go from the front to the back,...

    Quzah,

    But if I go from the front to the back, I will have "processed" the character that I want to delete.
    The '/' is supposed to mean that both itself, and the preceding character will be...
  12. Replies
    6
    Views
    1,427

    Problem with string output...

    Ok people.. this is getting aggravated, and, even though I'm sure it's something very stupid, I can't figure out why this string isn't getting printed.
    The little piece of code is supposed to go...
  13. Replies
    7
    Views
    1,586

    I am wondering something again: is it ok to call...

    I am wondering something again:
    is it ok to call pthread_join() from a start function?
  14. Replies
    7
    Views
    1,586

    I was going to use global variables! Actually,...

    I was going to use global variables!

    Actually, I do have another question: would you recommend creating new threads from a 'start' function?
    The assignment I have to do requires me to pass a...
  15. Replies
    7
    Views
    1,586

    oh! That makes sense! :rolleyes: Thanks again...

    oh! That makes sense! :rolleyes:

    Thanks again
    No more questions :D
  16. Replies
    7
    Views
    1,586

    Thank Quzah... Now, I'm guessing you can't...

    Thank Quzah...

    Now, I'm guessing you can't pass more than that one argument to the start function. The only way to pass more than one would be to create global variables. Am I right?
    Is there...
  17. Replies
    7
    Views
    1,586

    About pthread_create

    Hello everyone!

    I just started working on threads, and I'm having trouble understanding the last argument passed to pthread_create().

    What is the void * arg?
    Does that mean I can pass a...
  18. Replies
    5
    Views
    1,640

    fgets() atumatically reads the next line use...

    fgets() atumatically reads the next line
    use something like


    while (fgets(..) != NULL) {
    ...
    }
  19. Thread: FTP client in C???

    by Lau
    Replies
    8
    Views
    5,773

    samps005, I started reading this tutorial......

    samps005,
    I started reading this tutorial... It's taking me a lot of time, but I'm starting to get it... slooooowly :D
  20. Thread: FTP client in C???

    by Lau
    Replies
    8
    Views
    5,773

    Thanks Xei... I'll do that!!

    Thanks Xei... I'll do that!!
  21. Thread: FTP client in C???

    by Lau
    Replies
    8
    Views
    5,773

    Thank you all for the ressources... I guess I'm...

    Thank you all for the ressources... I guess I'm going to have a lot of reading to do ;-)
  22. Thread: FTP client in C???

    by Lau
    Replies
    8
    Views
    5,773

    FTP client in C???

    Hi everybody,

    here's the problem: this is my first networking class, and our project is to develop an FTP client... I am just clueless!!!

    I have never done any network programming before, and...
  23. Replies
    9
    Views
    5,082

    Ok, I got that!! thanks!!

    Ok, I got that!! thanks!!
  24. Replies
    9
    Views
    5,082

    Monkey_C: when I get into that function, it...

    Monkey_C:
    when I get into that function, it prints "enter employee ID No", and when I enter a number I doesn't do the rest => asking for the last name, first name, etc. It just creates a blanck...
  25. Replies
    6
    Views
    1,870

    Once again, Monster and moi: I don't know what I...

    Once again, Monster and moi:
    I don't know what I was doing there!! the fscanf() and fputs() are gone... :D
Results 1 to 25 of 60
Page 1 of 3 1 2 3