Search:

Type: Posts; User: Xirtam

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,145

    Re: simple question about strings

    In C, a string is a collection of characters terminated by the null character, which is simply the character with value zero. Your code has a collection of characters, but does not include a null...
  2. Replies
    17
    Views
    4,431

    Since getline() is not a standard function, you...

    Since getline() is not a standard function, you can't be sure whether it's being called correctly. Since the OP defined _GNU_SOURCE it's reasonable to expect that he's on a GNU system, and using...
Results 1 to 2 of 2