#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #define MAXzhansize 30 char stack[MAXzhansize];// char deleted(int *top) ...
分类:
其他好文 时间:
2017-06-07 22:25:15
阅读次数:
158
搜索水题 哎 直接不行了 。 #include <ctype.h> #include <cstdio> void read(int &x) { x=0;char ch=getchar(); while(!isdigit(ch)) ch=getchar(); while(isdigit(ch)) {x ...
分类:
其他好文 时间:
2017-06-07 15:39:48
阅读次数:
172
//编写函数实现库函数atof #include <stdio.h> #include <assert.h> #include <ctype.h> #include <math.h> double calculate(const char *src, int flag) { double num = ...
分类:
编程语言 时间:
2017-05-28 10:51:04
阅读次数:
154
Red Hat Linux 1.安装$ yum install subversion 2.常见问题1.执行svn报错:cannot set LC_CTYPE localevi /etc/profile加入一行:export LC_ALL=Csource /etc/profile 3. 从svn获取数 ...
分类:
系统相关 时间:
2017-05-18 09:41:30
阅读次数:
149
python 对 excel基本的操作如下: 1、python读取excel中单元格内容为日期的方式 python读取excel中单元格的内容返回的有5种类型,即上面例子中的ctype: ctype : 0 empty,1 string, 2 number, 3 date, 4 boolean, 5 ...
分类:
编程语言 时间:
2017-05-17 12:03:26
阅读次数:
193
centos5.x登陆显示:-bash:warning:setlocale:LC_CTYPE:cannotchangelocale(en_US.UTF-8):Nosuchfileordirectory-bash:warning:setlocale:LC_COLLATE:cannotchangelocale(en_US.UTF-8):Nosuchfileordirectory-bash:warning:setlocale:LC_MESSAGES:cannotchangelocale(en_US.UTF..
分类:
其他好文 时间:
2017-05-10 22:01:47
阅读次数:
245
Windows 7/8/10机器上安装Python 2.7后,下载一些Package包进行setup时总是报错UnicodeDecodeError,如下: File "C:/Python27/lib/mimetypes.py", line 250, in enum_types ctype = cty ...
分类:
其他好文 时间:
2017-04-29 23:40:03
阅读次数:
403
标签 PostgreSQL , create database , collate , ctype , pg_encoding , pg_encoding_to_char() 背景 PostgreSQL实例支持创建多个数据库,创建数据库时,可以指定模板库,并为每个数据库设置不同的字符集、本地化col ...
分类:
数据库 时间:
2017-04-25 18:32:12
阅读次数:
2471
1.分类函数,所在函数库为ctype.h int isalpha(int ch) 若ch是字母('A'-'Z','a'-'z')返回非0值,否则返回0int isalnum(int ch) 若ch是字母('A'-'Z','a'-'z')或数字('0'-'9'),返回非0值,否则返回0int isas ...
分类:
编程语言 时间:
2017-04-23 01:13:15
阅读次数:
184
1.字符函数,所在函数库为ctype.h 2.数学函数,所在函数库为math.h、stdlib.h、string.h、float.h 3.目录函数,所在函数库为dir.h、dos.h 4.进程函数,所在函数库为stdlib.h、process.h 5.输入输出子程序,所在函数库为io.h、conio ...
分类:
其他好文 时间:
2017-04-16 20:05:23
阅读次数:
219