タグ

c++に関するkiririmodeのブックマーク (58)

  • C++コミュニティーの中心でC++をDISる

    Boost.勉強会4にて発表した内容です。http://atnd.org/events/11551Read less

    C++コミュニティーの中心でC++をDISる
  • 使いもしないのにC++のtemplateを毛嫌いする全ての人に - 神様なんて信じない僕らのために


    C++AdventCalendar  使 tr1::arrayboost::array 使 使  array  使        CC++使 
    使いもしないのにC++のtemplateを毛嫌いする全ての人に - 神様なんて信じない僕らのために
  • Boost本:『Introduction to the C++ Boost Libraries Volume I - Foundations』 - Faith and Brave - C++で遊ぼう

    新たなBoost C++ Librariesの解説書である 『Introduction to the C++ Boost Libraries Volume I - Foundations』 が発売したようです。 1, 15, 18章は無料で読むことができます。

    Boost本:『Introduction to the C++ Boost Libraries Volume I - Foundations』 - Faith and Brave - C++で遊ぼう
  • Bjarne Stroustrup インタビュー (?)


    Computer IEEE  C++  Bjarne Stroustrup  Usenet  rec.games.roguelike.angband稿 I   StroustrupS  C使C
  • memologue - UNIX上でのC++ソフトウェア設計の定石 (2)


    2:  sigaction 3  volatile sig_atomic_t     sigactionOK 1:   
    memologue - UNIX上でのC++ソフトウェア設計の定石 (2)
  • 並列イベント駆動I/Oフレームワーク「mpio」リリース - Blog by Sadayuki Furuhashi


    KVS kumofs 2*1 I/O1*2 *3 kumofsI/O*4 GC C++  APICC++vim使
    並列イベント駆動I/Oフレームワーク「mpio」リリース - Blog by Sadayuki Furuhashi
  • C/C++のための開発援助ツール、GCCSenseをリリースしました - Functional Emacser

    未踏プロジェクトの支援を受けて開発していた、C/C++のための開発援助ツールGCCSenseをリリースしました。配布物やドキュメントは次のURLから入手できます。 http://cx4a.org/software/gccsense/index.ja.html 開発援助ツールと銘打っていますが、現状利用できる機能はコード補完と自動構文チェック(Emacsのみ)だけです。将来的には関数ヘルプ機能や型表示機能を実装する予定です。 GCCSenseはコード補完などの機能を搭載した独自のGCCを利用しているため、インストールがかなり面倒です。ドキュメントによってある程度カバーしたつもりですが、環境によってまちまちなのでインストール時に問題が出てくるのは必至だと思います。その際は私に連絡してください。 また、独自GCCを利用している関係上、現状ではWindowsでの利用はできません。自由なソフトウェア

    C/C++のための開発援助ツール、GCCSenseをリリースしました - Functional Emacser
  • 第2回 Qtの基本プログラミング~入手方法、シグナルとスロット | gihyo.jp


     QtQtQt WebKitQt3 Qt2 UNIXLinuxUbuntuKubuntu 8.04Qt4KDE 4 Trolltech  UNIXLinuxGCCSunCCPh
    第2回 Qtの基本プログラミング~入手方法、シグナルとスロット | gihyo.jp
  • C++/Boost 基礎文法最速マスター - 野良C++erの雑記帳


     http://d.hatena.ne.jp/faith_and_brave/20100201/1264997004 C++0xC++03 C++0xBoost使 BoostC++ C 1. Hello World C++/BoostC++ IOStream  Boost.Format Cprintf Hello World C++/Boost使 #include <stdio.h> int main() { printf( "%s\n", "Hell
    C++/Boost 基礎文法最速マスター - 野良C++erの雑記帳
    kiririmode
    kiririmode 2010/02/04
    知らないことどんどん多くなってきてる
  • More C++ Idioms - Wikibooks


    C++ (C++ has indeed become too "expert friendly") Stroustrup  open content book  C++  C++ C++  C++  C++ 使
  • std::mapをBoost.Foreachで回すときにキーと値を簡単に取り出す - Faith and Brave - C++で遊ぼう

    gmane.comp.lib.boost.devel - 【Foreach】 Proposal to simplify using Boost.Foreach with maps こんなことできたんだ! #include <iostream> #include <map> #include <boost/tuple/tuple.hpp> #include <boost/foreach.hpp> int main() { std::map<int, int> m; m[1] = 3; m[2] = 2; m[3] = 1; int key, value; BOOST_FOREACH(boost::tie(key, value), m) std::cout << key << ", " << value << std::endl; } ignore使えばvalueだけほしいとき便利かも。 #i

    std::mapをBoost.Foreachで回すときにキーと値を簡単に取り出す - Faith and Brave - C++で遊ぼう
  • EmacsにおけるC++ source codeの細かいindent設定方法 (1) - I.S.の日記


    Source codeindentI.S.indentdefault Emacsfileindentindent便 Emacsfile*1stylestyleindentindentindent (add-hook 'c++-mode-hook '(lambda () (c-set-style "gnu") ; k&rbsd
    EmacsにおけるC++ source codeの細かいindent設定方法 (1) - I.S.の日記
  • tokuhirom blog

    Blog Search when-present<#else>when-missing. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: ${entry.path} [in template "__entry.ftlh" at line 3, column 25] - Reached through: #include "__entry.ftlh" [in template "entry.ftlh" at

  • 終了処理とコピーコンストラクタ - Cube Lilac

    コピーコンストラクタ(と代入演算子)はなかなか扱いの難しい代物ですが,今回は「デストラクタで何らかの終了処理を記述している場合」でのコピーコンストラクタの設計方針について検討します. 例えば,以下のようなファイルの入出力処理を扱うクラスを考えます. class file_wrapper { public: file_wrapper() : f_(NULL) {} explicit file_wrapper(const char* filename) : f_(NULL) { this->open(filename); } virtual ~file_wrapper() throw() { this->close(); } file_wrapper& open(const char* filename) { f_ = fopen(filename); if (f_ == NULL) thro

    終了処理とコピーコンストラクタ - Cube Lilac
    kiririmode
    kiririmode 2009/07/12
    わかりやすい!
  • zip の解凍 - Cube Lilac


    zip C/C++  zip zlib 1 minizip 使 zip /zip / iterator  iterator  unzip begin()  find()  zip 
    zip の解凍 - Cube Lilac
    kiririmode
    kiririmode 2009/06/02
    ソースがキレいすぎる!!!
  • 『イテレータを自作するには?』


    C++   C++  C++STL使   char*  copyreversechar*   #include <cstdlib> #include <iostream> #include <iterator> #include <algorithm> #include <sst
  • asio C++ library

    Asio is a cross-platform C++ library for network and low-level I/O programming that provides developers with a consistent asynchronous model using a modern C++ approach.

  • Modernへの架け橋 - 神様なんて信じない僕らのために


     C++ ModernModern C++ Design C++ STL使Boost使   Modern  Modern     
    Modernへの架け橋 - 神様なんて信じない僕らのために
  • 株式会社エス・スリー・フォー » テンポラリ・バッファとしての std::vector の利用

    テンポラリ・バッファとしての std::vector の利用 悩ましきテンポラリ・バッファ 一時的に必要となる領域、すなわちテンポラリ・バッファはプログラムのいたるところで用いられます。 void f() { char buffer[256]; ... } 上の例では256[char]のbufferをautomatic領域に確保しています。 場合によってはこのような固定サイズではなく、可変長のテンポラリ・バッファを必要とします。可変長のテンポラリ・バッファが必要なとき、通常opeartor newによってヒープ領域から確保するでしょう。 void f() { char* buffer = new char[N]; // Nは変数 ... delete[] buffer; } 当然のことながら、operator newによってヒープから確保した領域は、利用後速やかにoperator dele

  • C++ のプログラムのデバッグを楽にする方法

    メディア関係者向けお問い合わせ先 メールでのお問い合わせ: pr-jp@google.com メディア関係者以外からのお問い合わせにはお答えいたしかねます。 その他すべてのお問い合わせにつきましては、ヘルプセンターをご覧ください。

    C++ のプログラムのデバッグを楽にする方法