Search:

Type: Posts; User: kaylaneko

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    4,714

    Could you elaborate a little bit more about using...

    Could you elaborate a little bit more about using select() instead of freopen? Or how would that apply on the above case? Thanks for your reply.
  2. Replies
    2
    Views
    4,714

    Redirecting stdin - freopen alternative

    I'm currently redirecting in a non-portable manner the standard input as:


    freopen ("/dev/tty", "r", stdin);

    which /dev/tty always points to the user's terminal. This helps me to read from...
  3. Replies
    2
    Views
    1,742

    is it possible to use strncpy() and iterate over...

    is it possible to use strncpy() and iterate over the string char by char? using the same loop type, the reason I ask this is becuase I need to take different branches based on certain chars found.
    ...
  4. Replies
    2
    Views
    1,742

    Struct assign values iterate string

    How can I iterate over the individual characters of a string and copying them one by one to a struct. (in other words, I want to copy char by char into a struct member until a flag is triggered, then...
Results 1 to 4 of 4