⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 character.cpp

📁 数据结构常用算法合集
💻 CPP
字号:
//character.cpp
#include <iostream.h>
#include <conio.h>
#include <ctype.h>
#include <iomanip.h>	//setw()
void main(void)
{
  int c,count=0;
  for (c=0;c<255;c++)
  if (ispunct(c))
  { cout<< setw(3)<<c << '='<< char(c)<<' ';
    count++;
    if (count % 10==0) cout << endl;
  }
  cout << "\n一共 "<<count <<"个";
  getch();
}

⌨️ 快捷键说明

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