Search:

Type: Posts; User: arti

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,115

    I did read it laserlight, but it wouldn't work in...

    I did read it laserlight, but it wouldn't work in my program even though I followed the example in the man getline of linux. Which is when i switched to fgets because the tutor and another student...
  2. Replies
    7
    Views
    2,115

    It isn't my code. I found it in another tutorial...

    It isn't my code. I found it in another tutorial website. I am showing it because the tutor said that getline would be a lot better to use. My code involves using fscanf and fprintf
  3. Replies
    7
    Views
    2,115

    Learn about the getline function

    Hopefully someone can explain to me how the getline function works. Thank you


    #include <stdio.h>
    #include <stdlib.h>
    #include <string.h>
    int main()
    {
    //welcome to main!
    //we need...
Results 1 to 3 of 3