use of sscanf?
#1

whats the use of sscanf?
Reply
#2

It is the inverse to format. It takes an input string and splits it into different variables based on a given pattern.
Reply
#3

In addition to what Vince commented, I will give you some more reliable examples
You can split an input command into given variables (target id, reason, time, amount)
You can split files (X | Y | Z) into different variables (x, y, z) and so on
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)