atoi()

From Valve Developer Community
Jump to: navigation, search

This function, its name short for "ascii to integer," parses a string argument into its integer representation.

Usage

int myInt = atoi( "42" );