今回からは、makeとMakefileをライフハック的に使う方法を取り上げていく。まず、システムにGNU makeがインストールされているかどうかを確認する。次のように「make --version」が動作すれば、GNU makeがインストールされている状態だ。 % make --version GNU Make 4.2.1 ...
Makefileは基本的に「生成されるファイル」「元ファイル」「生成されるファイルを作るコマンド」の3つで構成されており、これらを組み合わせて1つの「ブロック」とする。ブロックは複数書くことができる。基本的な書き方は、次の通りだ。 生成される ...
Splunkに日本語を含むCSVデータを投入したら「文字化け」した経験、ありませんか? 正常: 東京都,販売部,田中太郎 文字化け: æ±äº¬é½,販売é¨,ç°ä¸­å¤ªéƒŽ 今回は、CSVデータ投入時の文字化けを完全に解決するための対策パターンを、原因別に徹底 ...
On the Windows platform, the C++ language offers several ways to process a file. We'll look at four approaches for serial IO access. Reading and writing to a file is one of the most required features ...
FFmpeg was designed as a cross-platform solution for video and audio recording, conversion, and streaming. Its About page describes the command-line tool as “the leading multimedia framework, able to ...