It compiles,
The issue is this line here,
int myInt = [shighlight]atoi[/shighlight](buffer);
Note the [ shighlight] and the [ /shighlight] these are inserted into the code block to Highlight the word you are searching for, "atoi", Take that out and get rid of the 2 extra }} at the bottom and it should compile.
The lib should already be there.