2017-04-14から1日間の記事一覧

cpp helloworld

#include <iostream> using namespace std; int main() { cout << "!!!Hello World!!!" << endl; // prints !!!Hello World!!! return 0; }</iostream>

macでeclipseにcmakeと連動させること [eclipse]

1)cmakeをインストール,https://cmake.org/ コマンドラインで使えるように設定する.GUIのcmakeを開いて設定. 2)eclipse側でprojectでbuildディレクトリを指定. 3)makefileを作りたいフォルダでcmake01.helloworld kuwakichi$ cmake . ゴミと一緒にmakefi…