📄 read_it_file.cpp
字号:
#include <itpp/itcomm.h>using namespace itpp;int main(){ // Declare the it_file class it_file ff; // Open the file "it_file_test.it" for reading ff.open("it_file_test.it"); // Read the variable a from the file. Put result in vector a. vec a; ff >> Name("a") >> a; // Print the result std::cout << "a = " << a << std::endl; // Exit the program return 0;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -