replace sprinf_s by sprinf;replace std::to_string by itos