<?xml version="1.0" encoding="UTF-8" ?>
<feed xml:lang="ja" xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
  <title type="text">J’avais vingt ans</title>
  <subtitle type="html">(´・ω・`)</subtitle>
  <link rel="self" type="application/atom+xml" href="http://biblio.no-mania.com/atom"/>
  <link rel="alternate" type="text/html" href="http://biblio.no-mania.com/"/>
  <updated>2011-11-14T11:18:36+09:00</updated>
  <author><name>リリン</name></author>
  <generator uri="//www.ninja.co.jp/blog/" version="0.9">忍者ブログ</generator>
  <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" />
  <entry>
    <id>biblio.no-mania.com://entry/3</id>
    <link rel="alternate" type="text/html" href="http://biblio.no-mania.com/whatisdoing/%E6%94%AF%E5%87%BA%E3%83%AA%E3%82%B9%E3%83%88%E3%81%A1%E3%81%87%E3%81%A3%E3%81%8B%E3%83%BC" />
    <published>2014-02-11T21:14:37+09:00</published> 
    <updated>2014-02-11T21:14:37+09:00</updated> 
    <category term="やってること" label="やってること" />
    <title>支出リストちぇっかー</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[自営業者、副収入がないなど、月の収入が固定的な場合。<br />
出費（変動費）は日々変化し易いのでこちらを記録していく。<br />
<br />
支出の上限を設定<br />
<br />
1日単位の上限では、たまたま出費が多い日があるだけで、余力がなくなるので、<br />
日単位と週単位の上限を設定する。<br />
<br />
例：<br />
・日につき1000円<br />
・週につき7000円<br />
<br />
いまのソース・コード<br />
<br />
<a href="https://gist.github.com/LilinYume/8933726" title="">https://gist.github.com/LilinYume/8933726</a>]]> 
    </content>
    <author>
            <name>リリン</name>
        </author>
  </entry>
  <entry>
    <id>biblio.no-mania.com://entry/2</id>
    <link rel="alternate" type="text/html" href="http://biblio.no-mania.com/cplus/ctime%E3%83%98%E3%83%83%E3%83%80%E3%81%A7%E6%97%A5%E4%BB%98%E3%82%92%E5%8F%96%E5%BE%97" />
    <published>2014-02-11T17:10:14+09:00</published> 
    <updated>2014-02-11T17:10:14+09:00</updated> 
    <category term="C++ Source Memo" label="C++ Source Memo" />
    <title>ctimeヘッダで日付を取得</title>
    <content mode="escaped" type="text/html" xml:lang="utf-8"> 
      <![CDATA[<pre><iostream><fstream><ctime>#include &lt;iostream&gt;<br />
#include &lt;ctime&gt;<br />
<br />
using namespace std;<br />
<br />
struct stamp<br />
{<br />
	time_t time_val;<br />
	struct tm *look_into;<br />
	int yy, mm, dd;<br />
<br />
	// 日付の取得<br />
	stamp()<br />
	{<br />
		time_val = time( NULL );<br />
		look_into = localtime( &amp;time_val );<br />
<br />
		yy = look_into-&gt; tm_year;<br />
		mm = look_into-&gt; tm_mon;<br />
		dd = look_into-&gt; tm_mday;<br />
	}<br />
	// スタンプする日付を渡す<br />
	void express( int &amp;year, int &amp;month, int &amp;day )<br />
	{<br />
		const int year_diff = 1900;<br />
		const int mon_diff = 1;<br />
<br />
		yy += year_diff;<br />
		mm += mon_diff;<br />
<br />
		year = yy;<br />
		month = mm;<br />
		day = dd;<br />
	}<br />
};<br />
int main()<br />
{<br />
	stamp tmp;<br />
	int y, m, d;<br />
	tmp.express( y, m, d );<br />
<br />
	cout &lt;&lt; y &lt;&lt; m &lt;&lt; d &lt;&lt; endl;<br />
<br />
	return 0;<br />
}<br />
</ctime></fstream></iostream></pre>]]> 
    </content>
    <author>
            <name>リリン</name>
        </author>
  </entry>
</feed>