Looking for degree-minute.fraction parser
Roy Smith
roy at alanine
Sun Dec 10 12:44:40 AEST 1989
Does anybody have a hacked up version of scanf/printf which can
deal with angles of the form DD-MM.T or DD-MM-SS and time of the form
HH:MM:SS? When writing astronomy programs, it would be really nice to be
able to do 'scanf ("%a, &d)' to read an angle and have it accept any of the
commonly used formats for angles.
--
Roy Smith, Public Health Research Institute
455 First Avenue, New York, NY 10016
roy at alanine.phri.nyu.edu -OR- {att,philabs,cmcl2,rutgers,hombre}!phri!roy
"My karma ran over my dogma"
More information about the Comp.lang.c
mailing list