<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>S12 / MagniV MicrocontrollersのトピックRe: Convert Integer to String and vice versa</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Integer-to-String-and-vice-versa/m-p/135521#M2285</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;There's no such function as itoa() in the standard C libraries. You could use sprintf() instead, though it may be more efficient to write your own function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steve Melnikoff.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2006 21:08:30 GMT</pubDate>
    <dc:creator>sjmelnikoff</dc:creator>
    <dc:date>2006-11-07T21:08:30Z</dc:date>
    <item>
      <title>Convert Integer to String and vice versa</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Integer-to-String-and-vice-versa/m-p/135519#M2283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, folks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Well, I'm working with HCS12, with CodeWarrior compiler and I'm progamming it in C language.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I need to convert a string to integer, and then an integer to string. I've been told that I should use the atoi() and itoa() functions.... And in order to do that I must include "stdio.h" and "stdlib.h".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The problem is that it says that itoa doesn't exist. I guess it means that it's not in "stdlib.h"...So I downloaded another version of "stdlib.h" that has the itoa() function..... You won't beleive that, but this "stdlib.h" I've downloaded does not have the other function atoi().... WHAT CAN I DO??????&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;PS: I try to copy what I thought was the declaration of the missing function from the other header but it still doesn't work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THANKS&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 22:15:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Integer-to-String-and-vice-versa/m-p/135519#M2283</guid>
      <dc:creator>SebaS</dc:creator>
      <dc:date>2006-11-06T22:15:15Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Integer to String and vice versa</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Integer-to-String-and-vice-versa/m-p/135520#M2284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;You can start by searching for your function name with the Forum search.&lt;/DIV&gt;&lt;DIV&gt;It will give you the C code of the function to include in your project..........&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Nov 2006 22:25:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Integer-to-String-and-vice-versa/m-p/135520#M2284</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2006-11-06T22:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Integer to String and vice versa</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Integer-to-String-and-vice-versa/m-p/135521#M2285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;There's no such function as itoa() in the standard C libraries. You could use sprintf() instead, though it may be more efficient to write your own function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Steve Melnikoff.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2006 21:08:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Convert-Integer-to-String-and-vice-versa/m-p/135521#M2285</guid>
      <dc:creator>sjmelnikoff</dc:creator>
      <dc:date>2006-11-07T21:08:30Z</dc:date>
    </item>
  </channel>
</rss>

