2009-03-01から1ヶ月間の記事一覧

Luaのお勉強#2

というよりも、c++とSTLのお勉強ぽくなってきた。 コード #include <stdio.h> #include <string> #include <sstream> #include <iostream> #include <vector> #include "lua.hpp" int main(void) { using namespace std; vector<string> luaScripts; luaScripts.push_back( "print('hello Lua world');" ); luaScr</string></vector></iostream></sstream></string></stdio.h>…

Luaのお勉強#1

lua

きっかけ Luaに興味を持ったきっかけはこれ。スクリプト言語による効率的ゲーム開発 C/C++へのLua組込み実践 (GAME DEVELOPER)作者: 浜中誠出版社/メーカー: ソフトバンククリエイティブ発売日: 2008/09/27メディア: 大型本購入: 13人 クリック: 322回この商…

Luaに興味が出てきたのでコンパイルしてみる

lua

環境はWindows XP SP3、Visual C++ 2008 Express。 まずは、Luaのソースコードをとってくる http://www.lua.org/ http://www.lua.org/download.html カレントバージョンはLua 5.1.4, released on 22 Aug 2008. 最後のリリースから結構立ってるんだな〜 適当…

最近の読書

宇宙創成(上) (新潮文庫)作者: サイモンシン,Simon Singh,青木薫出版社/メーカー: 新潮社発売日: 2009/01/28メディア: 文庫購入: 12人 クリック: 394回この商品を含むブログ (129件) を見る宇宙創成(下) (新潮文庫)作者: サイモンシン,Simon Singh,青木薫…