EngFormat-Cpp
基于C ++的工程符号格式化程序
此处介绍的C ++工程格式化程序部分基于在 [1]上找到的代码,部分基于Jukka Korpela和David Hoerl的代码,可从GitHub上的 [2]项目获得。
用法示例
# include " eng_format.hpp "
# include < iostream>
int main ()
{
std::cout << to>g++ -Wall -Wextra -I../src -o example1.exe example1.cpp ../src/eng_format.cpp && example1
1.23 kPa
基本的C +