visual c++: convert int into string pointer

前端 未结 10 2139
既然无缘
既然无缘 2021-01-22 09:01

how to convert integer into string pointer in visual c++?

10条回答
  •  爱一瞬间的悲伤
    2021-01-22 09:42

    search for atoi / itoa in your favorite documentation. Or try Boost (www.boost.org - library Conversion, lexical_cast).

    Both ways are portable across different compilers.

提交回复
热议问题