📅  最后修改于: 2022-03-11 15:04:41.941000             🧑  作者: Mango
#include //atoi's library
#include
int main (void)
{
string input = "9";
int output = atoi(input);
printf("%i", output);
//this will print out 9 as an int not a string
}