Use stringstream instead of visual studio specific sscanf_s