As I wrote an app with the function main(int argc, char * argv[])
When i start up the application, I wanna send some parameters like
(assume the app name is ffdisk
)
>ffdisk -f 111123123131321312312123 1
You see the third param maybe an int64 param in my original intention...
But in function main, argv[2] is string pointer, so how can convert this string into a int64 variable?
Thanx...
I am always stuck at messy problems....