Tag Archives: string

fgets – scanning string with spaces

Prototype : – #include <stdio.h> char *fgets(char *s, int size, FILE *stream); Defination :- fgets() reads in at most one less than size characters from stream and stores them into the buffer pointed to by s.  Reading  stops  after an … Continue reading

Posted in Data Structures with C | Tagged , , | Leave a comment

User defined string header file using pointer

RCS file: RCS/my_string.c,v Working file: my_string.c head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1;    selected revisions: 1 description: My String Header File —————————- revision 1.1 date: 2014/08/27 10:58:21;  author: root;  state: Exp; Initial … Continue reading

Posted in Data Structures with C | Tagged , , | Leave a comment