facebook twitter hatena line email

「Cpp」の版間の差分

提供: 初心者エンジニアの簡易メモ
移動: 案内検索
 
(同じ利用者による、間の2版が非表示)
行1: 行1:
 +
[[cpp/helloworld]]
  
==logとか==
+
[[cpp/ipaddress]]
<pre>
+
#include "log/LogManager.h"
+
if (request->model() == "123") {
+
    LogManager::instance().errlog(spdlog::level::debug, "model: {0}", request->model());
+
}
+
</pre>
+
==ビルド==
+
make
+
  
===make: *** No rule to make target cppエラーが出る場合===
+
[[cpp/その他]]
キャッシュクリアしてからビルド
+
make gencode
+
+
 
+
buildのdirをbkにして、再度作り直すと直った
+

2019年3月26日 (火) 10:40時点における最新版

cpp/helloworld

cpp/ipaddress

cpp/その他