📅  最后修改于: 2022-03-11 14:44:50.025000             🧑  作者: Mango
// EXAMPLE
std::string sStringAsString = "789";
int iStringAsInt = atoi( sStringAsString.c_str() );
/* SYNTAX
atoi( .c_str() )
*/
/* HEADERS
#include
#include
*/