|
From: Daniel on 9 Jun 2008 18:29 I can't find the documentation on the function to convert integer to string. Anyone know it off the top of his / her head? Daniel
From: Nathan Mates on 9 Jun 2008 18:49 In article <uJusPBoyIHA.5716(a)TK2MSFTNGP04.phx.gbl>, Daniel <Mahonri(a)cableone.net> wrote: >I can't find the documentation on the function to convert integer to string. >Anyone know it off the top of his / her head? What language (C, C++, C#, VB, other) are you using? In C/C++, you can use sprintf. I'm not a mindreader, so the more information you provide, you can help others help you. Nathan Mates -- <*> Nathan Mates - personal webpage http://www.visi.com/~nathan/ # Programmer at Pandemic Studios -- http://www.pandemicstudios.com/ # NOT speaking for Pandemic Studios. "Care not what the neighbors # think. What are the facts, and to how many decimal places?" -R.A. Heinlein
From: Ron Francis on 9 Jun 2008 19:54 "Daniel" <Mahonri(a)cableone.net> wrote in message news:uJusPBoyIHA.5716(a)TK2MSFTNGP04.phx.gbl... >I can't find the documentation on the function to convert integer to >string. Anyone know it off the top of his / her head? > > Daniel > Assuming C/C++: As Nathan said, sprintf( ) but to be more safe use sprintf_s( ) You can also look at _itoa_s( ) Regards, Ron Francis www.RonaldFrancis.com
From: David Wilkinson on 9 Jun 2008 20:21 Daniel wrote: > I can't find the documentation on the function to convert integer to string. > Anyone know it off the top of his / her head? > > Daniel Daniel: and std::ostringstream. -- David Wilkinson Visual C++ MVP
From: Daniel on 9 Jun 2008 21:10 I'm in the microsoft.public.vc.language newsgroup. I mean the c/c++ language. "Nathan Mates" <nathan(a)visi.com> wrote in message news:GoednRYIfbfkLtDVnZ2dnUVZ_siknZ2d(a)visi... > In article <uJusPBoyIHA.5716(a)TK2MSFTNGP04.phx.gbl>, > Daniel <Mahonri(a)cableone.net> wrote: >>I can't find the documentation on the function to convert integer to >>string. >>Anyone know it off the top of his / her head? > > What language (C, C++, C#, VB, other) are you using? In C/C++, you > can use sprintf. I'm not a mindreader, so the more information you > provide, you can help others help you. > > Nathan Mates > > -- > <*> Nathan Mates - personal webpage http://www.visi.com/~nathan/ > # Programmer at Pandemic Studios -- http://www.pandemicstudios.com/ > # NOT speaking for Pandemic Studios. "Care not what the neighbors > # think. What are the facts, and to how many decimal places?" -R.A. > Heinlein
|
Next
|
Last
Pages: 1 2 3 Prev: Can memory be reallocated between private heaps (HeapCreate)? Next: get last char in a string |