logging_callback in pendulum_log.cpp fails to output to fstream · Issue #450 · ros2/demos · GitHub
C++のstreamでbom skipする方法をまた忘れないうちに書き留める - Qiita
Ofstream C++ How to open and write data in text file
Input/Output - C++ Reference
C++ provides the following classes to perform output and input of characters to/from files: ofstream: Stream class to write on filesofstream ifstream: - ppt download