Originally Posted by Sporkman http://ubuntuforums.org/showthread.p...20#post3630020 That is a different language, in a different context. That is for getting string input from a text file in C++, not getting a strings from the user in C.
Originally Posted by LaRoza That is a different language, in a different context. That is for getting string input from a text file in C++, not getting a strings from the user in C. No, it's from a file - note the fgetc, feof, FILE, etc.
Originally Posted by Sporkman No, it's from a file - note the fgetc, feof, FILE, etc. I know its from a file, that is what I said. This isn't about that. Also, the code segments use "new", a C++ concept. This is C.
Ubuntu Forums Code of Conduct
Bookmarks