📄 test_sample.cpp
字号:
#include <sample/sample.h>#include <iostream>using namespace std;using namespace BFL;using namespace MatrixWrapper;int main(){ ColumnVector a(3); a[0]=1; a[1]=1; a[2]=1; Sample<ColumnVector> my_first_sample; my_first_sample.ValueSet(a); cout << "Sample<ColumnVector>:\n" << my_first_sample << endl; Sample<int> my_second_sample; my_second_sample.ValueSet(2); cout << "Sample<int>\n" << my_second_sample << endl; cout << "test_sample... done" << endl; return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -