sscanf is a Windows development tool oriented toward C programmers. The function is defined in the header file stdio.h and can be used for extracting values according to a specified format. With its help you are able to access information in custom data strings.
Description
The function takes three main arguments: the string to read from, the format string that specifies how to interpret the input data and a variable argument list that contains pointers to the information. It is possible to hold extracted values in the system memory.
Format specifiers
Like in MonoDevelop, users can add advanced commands to customize data processing. There are instruments for reading floating point values, single characters or hexadecimal integers. These options are intended for personalizing the operation and adjusting it according to individual requirements.
Usage examples
This program reads the string “Hello 123” as two variables: word and numeral. You can access consecutive characters until the whitespace is encountered and add integer values to the database. Other examples and detailed descriptions of all functions are available in the official C documentation.
Features
- free to download and use;
- offers software developers tools for reading formatted data from separate strings;
- it is possible to work with floating point values and single characters;
- there are several format specifiers for adjusting operation parameters;
- compatible with all modern versions of Windows.