I was given a brief introduction to the GetLine(); function in my C course, but I wasn't clearly told how to use it. Someone told me that this function doesn't exist/work in C, and I have read that elsewhere, but I highly doubt that the lecturer is fibbing! Any help would be greatly appreciated! :)
Below is an example assignment, which I do not want someone to solve for me. I am merely asking for a hint on how to use GetLine(); in such a case.
Ask the user to enter the name of a solid - either "prism", "cube", or "cylinder", and print back the name.
In such a case, I'd imagine using GetLine();, as the programming assignment suggests, in the hint section. But, how? =P