pulkitjain's blog

By pulkitjain, history, 4 years ago, In English

Hi All,

I am trying to find the fastest way to convert integer directly to char* (C-string) without converting it to std::string first. I have already tried using std::to_string() function but then also i need to convert it into C-string using c_str() function. Basically an alternative for itoa in c++ for version 11.

Please feel free to give your views regarding this.

Thanks and Regards
Pulkit Jain

Full text and comments »

  • Vote: I like it
  • -23
  • Vote: I do not like it