Cgets :- Its is a Delcaration type Ex:- {char*cgets(char*str;)} Cgets reads a string of characters from the console and stores the string ( and the string length ) in the location *str[0]. Before you call cgets,ste str[0] to the maximum length of the string to be read.
Learn C++ Programming fast and easy, find C++ Program Codes