gptp.cpp

来自「Particle filtering implementation and ap」· C++ 代码 · 共 26 行

CPP
26
字号
#include <iostream>#include <sstream>#include <string>using namespace std;int main (int argc, const char* argv){	while (cin)	{		char buf[1000];		cin.getline(buf,1000);		istringstream is(buf);		string head;		is >> head;		if (head=="GNUPLOT")		{			cout << buf+strlen("GNUPLOT") << endl << flush;		}		else		{			cerr << buf << endl << flush;		}	}}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?