main.cc

来自「达内IT培训Unix C++第三天源码 是入门Unix 下C++编程的好东西」· CC 代码 · 共 19 行

CC
19
字号
#include <iostream>using namespace std;#include <cstring>#include "io.h"#include "string.h"int main(){	char buf[100];	inputStr(buf, 100);	int n=inputInt();	char buf1[100], buf2[100];	copyLeft(buf1, buf, n);	copyRight(buf2, buf, n);	cout << "buf1=" << buf1 << endl;	cout << "buf2=" << buf2 << endl;}

⌨️ 快捷键说明

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