sscanf is similar to scanf except that input is read from string rather than keyboard or i/o *c -supression character.it reads character and discards it.doesnt store it anywhere
On Tue, Aug 30, 2011 at 9:32 PM, Mani Bharathi <manibharat...@gmail.com>wrote: > char*str="11/1/1999"; > > sscanf(str,"*c*cd",&month,&day,&year); > > -- > You received this message because you are subscribed to the Google Groups > "Algorithm Geeks" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/algogeeks/-/60kR7ykKiksJ. > To post to this group, send email to algogeeks@googlegroups.com. > To unsubscribe from this group, send email to > algogeeks+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/algogeeks?hl=en. > -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com. To unsubscribe from this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.