C – using sscanf to parse input

Background Let us use the C function, sscanf, to parse input. Bible verse Let us say we want to accept bible verses and interpret the input. Example Input Genesis 3:1 sscanf Format %s %d:%d Code Outline Function - requestVerseInput Prompt :- printf Accept Input gets Display Display accepted input Function - parseVerseInput Reset variables sscanf … Continue reading C – using sscanf to parse input