Sscanf
Name:
Sscanf ()-read data that matches the specified format from a string.
Function prototype:
Int sscanf (string STR, string FMT, mixed var1, mixed var2 ...);
Int scanf (const char * Format [, argument]...);
Note:
Similar to scanf, sscanf is
# Include
Define the function int sscanf (const char * STR, const char * format ,........);
Function DescriptionSscanf () converts and formats the STR string based on the format string. For more information about format conversion, see scanf ().
---restore content starts---It's been hit today, isn't it? By Zheng Light of the ACM teacher to my college guidance arranged a small game,, we actually have or lost to a freshman novice,, Hey, love,,, so still want to pay attention to the basic
Sscanf usageName:Sscanf ()-read data that matches the specified format from a string.Function prototype:Int sscanf (string STR, string FMT, mixed var1, mixed var2 ...);Int scanf (const char * Format [, argument]...);Note:Similar to scanf, sscanf is
/* Non-blog summary */
Sscanf
Name:Sscanf ()-read data that matches the specified format from a string.Function prototype:Int sscanf (string str, string fmt, mixed var1, mixed var2 ...);Int scanf (const char * format [, argument]...);Note:Similar
Name:
sscanf ()-Reads data from a string that matches the specified format.
Copy Code code as follows:
Function Prototypes:
Int sscanf (String str, String fmt, mixed var1, mixed var2 ...);int scanf (const char *format [,
reproduced from: http://baike.baidu.com/view/1364018.htm
Name:SSCANF ()-Reads data from a string that matches the specified format. function prototypes: int sscanf (const char *, const char *, ...); int sscanf (const char *buffer,const char
Sscanf ()-read data that matches the specified format from a string.
Function prototype:
Int sscanf (const char *, const char *,...);Int scanf (const char *,...);
Header file:
# Include
Note:
Similar to scanf, sscanf is used for input, but the
Defines the function int sscanf (const char *str,const char * format,........);Function descriptionSSCANF () Converts the string of the parameter str according to the parameter format string and formats the data. Format conversion form please refer
The following is a detailed analysis of the use of the SSCANF function in C language, the need for friends under the reference
Name: sscanf ()-Reads data from a string that matches the specified format.
Copy Code code as follows:
function
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.