在C ++中输出某些字符串
编写程序以获取N个数字以及一个数字和字符序列。结果,程序必须首先输出所有数字,然后输出符号。所有成员必须以空格分隔。
所以我写了这段代码:
#include <iostream>
#include <algorithm>
#include <iterator>
#include <cctype>
using namespace std;
int main()
{
const size_t N = 1000;
char a[N];
size_t n = 0;
...