I need to split a string line into a vector of strings, and after that I need to save one index of vector into an int variable. I am doing like showed bellow but I am having error on function "atoi" for conversion from string to int.
ERROR: FileStream.cpp:69: error: invalid conversion from 'int (*)(const char*)' to 'int'
Can anyone state why and please say the right way?