📄 fs_util.cpp
字号:
//
// File = fs_util.cpp
//
#include "fs_util.h"
#include <iostream.h>
void DumpRectangCompon( double *origins,
double *slopes,
int num_trans_samps,
double x)
{
double rect_comp;
int n;
for( n=0; n<num_trans_samps; n++)
{
rect_comp = origins[n+1] + x * slopes[n+1];
cout << "rect_comp[" << n << "] = " << rect_comp << endl;
}
return;
}
//================================================================
void pause( logical pause_enabled)
{
char input_string[20];
if(pause_enabled)
{
cout << "enter anything to continue" << endl;
cin >> input_string;
}
return;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -