Search:

Type: Posts; User: MK27

Search: Search took 0.10 seconds.

  1. Replies
    8
    Views
    1,741

    I presume I will understand things differently...

    I presume I will understand things differently later, but after reading the wikipedia thing on header files, I have to say it seems pointless to include prototypes in one file for definitions that...
  2. Replies
    8
    Views
    1,741

    it works now

    Yes, I'm new to C and my question was definately about passing variable types. Sorry, I had forgotten getline() is GNU-specific.

    Anyway I did get it to work such that "char *line=linein(stdin);"...
  3. Replies
    8
    Views
    1,741

    why can't i do this?

    I'm trying to make a brief header function for getline() (called "linein") so that I can go:


    char *line;
    line = linein();

    Only I would like to include the stream, so instead the second line...
Results 1 to 3 of 3