c++

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>…

ポインタで突っ込みイパーイ

c++

ポインタは、それに特化した内容の書籍も発刊されているほど、C/C++言語の最も特徴的な機能だ。配列とも深い関係を持つその機能を紹介しよう。 現在、本稿には技術的な誤りが存在するため、詳細をレビュー中です。 初めてご覧になる方は、コメント欄もあわせ…