<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nekko1119</author_name>
  <author_url>https://blog.hatena.ne.jp/nekko1119/</author_url>
  <blog_title>C++と色々</blog_title>
  <blog_url>https://nekko1119.hatenablog.com/</blog_url>
  <categories>
    <anon>C++</anon>
  </categories>
  <description>元ネタに載っている変換方法を使ったサンプルを書いてみた。*1 atoi #include &lt;cstdlib&gt; #include &lt;iostream&gt; #include &lt;string&gt; #include &lt;typeinfo&gt; int main() { const std::string str(&quot;123&quot;); auto num = std::atoi(str.c_str()); std::cout &lt;&lt; typeid(num).name() &lt;&lt; &quot; : &quot; &lt;&lt; num &lt;&lt; std::endl; } strtol #include &lt;cstdlib&gt; #include &lt;iostream&gt;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnekko1119.hatenablog.com%2Fentry%2F2013%2F08%2F17%2F144722&quot; title=&quot;C++で文字列を数値に変換する方法 - C++と色々&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-08-17 14:47:22</published>
  <title>C++で文字列を数値に変換する方法</title>
  <type>rich</type>
  <url>https://nekko1119.hatenablog.com/entry/2013/08/17/144722</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
