<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>pigshape</author_name>
  <author_url>https://blog.hatena.ne.jp/pigshape/</author_url>
  <blog_title>littlewing</blog_title>
  <blog_url>https://littlewing.hatenablog.com/</blog_url>
  <categories>
    <anon>openframeworks</anon>
    <anon>俺のスニペット</anon>
  </categories>
  <description>openframeworksを使っていて、たまに文字列操作をすると忘れてしまうので覚書 まぁ、ただのc++なんですが・・ カレントディレクトリの取得 char dir[255]; getcwd(dir,255); cout&lt;&lt;&quot;Current Directory : &quot;&lt;&lt;dir&lt;&lt;endl; 文字列結合は ofToStringして、＋で連結 string cmd_convert; cmd_convert = &quot;osascript &quot; + ofToString (dir) + ofToString(CMD_FACECONVERT); 絶対パスからユーザ名を取得する ofDir dir(&quot;&quot;);…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Flittlewing.hatenablog.com%2Fentry%2F2015%2F06%2F29%2F112256&quot; title=&quot;openframeworksでの文字列操作の覚書 - littlewing&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>2015-06-29 11:22:56</published>
  <title>openframeworksでの文字列操作の覚書</title>
  <type>rich</type>
  <url>https://littlewing.hatenablog.com/entry/2015/06/29/112256</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
