Search:

Type: Posts; User: pedro_velho

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    1,298

    Java Robo

    I now this is a C++ forum but if you want ijava can do it right off the box using the java.lang.Robot class methods. :D
  2. Replies
    6
    Views
    1,306

    sorry for the last reply the anwser is here, (i...

    sorry for the last reply the anwser is here, (i have some dumbness while typing tab key)?:





    //your way
    while(!feof(fp))
    {
    c = fgetc(fp);
  3. Replies
    6
    Views
    1,306

    traditional

    Probably you are reading an invalid character before living the while loop try this:




    while(!feof(fp))
    {
    c = fgetc(fp);

    putc(c, sfp);
  4. Replies
    2
    Views
    2,843

    you r almost there

    Hey bud here are some tips:

    in function void adding

    This is a bad idea, it must be just a string, and it is a matrix of chars.



    //your code...
  5. Replies
    3
    Views
    1,334

    programming with thread and signals

    There is a real tuff question, I am programming using Gcc and pthreads. I wanna know what will happen if I send a pthread_cond_broadcast before some of my threads enter the pthread_cond_wait for wait...
  6. Replies
    2
    Views
    2,028

    thanks

    That helps me a lot...
  7. Replies
    2
    Views
    2,028

    C\linux - safe reading from input

    I have read that is unsafe read from stdin like I do:

    [code]
    char buffer[40];
    fscanf(stdin, "%s", buffer);
    [\code]

    Anyone know a safe way to do this? I am a noob linux user.
Results 1 to 7 of 7