C++ 库函数查询 CHM 格式 #, ## manipulate strings #define define variables #error display an error message #if, #ifdef, #ifndef, #else, #elif, #endif conditional operators #include insert the contents of another file #line set line and file information #pra
c语言库函数大全--资料收集 Turbo C 2.0 函数中文说明大全 分类函数,所在函数库为ctype.h int isalpha(int ch) 若ch是字母('A'-'Z','a'-'z')返回非0值,否则返回0 int isalnum(int ch) 若ch是字母('A'-'Z','a'-'z')或数字('0'-'9'),返回非0值,否则返回0 int isascii(int ch) 若ch是字符(ASCII码中的0-127)返回非0值,否则返回0 int iscntrl(int ch
#include #include #include #include #include using namespace std; #define MAX_N 80+10 #define MAX_M 10000+10 mapindex; mapname; char s1[MAX_N] ,s2[MAX_N]; int a[MAX_M]; int main() { freopen( "in.txt" , "r" , stdin ); int n , m , i , max , t , v
#include #include #include #include #include using namespace std; #define MAX_N 200+10 mapstr; char s1[MAX_N],s2[MAX_N],s12[MAX_N],s[MAX_N]; void add( int n ) { int i; int value = 0; for( i = 0 ; i < n ; i++ ){ s[value++] = s2[i]; s[value++]
C++语言 VC6.0编译环境 /*标号法求最大流代码*/ #include using namespace std; int lt[21][2]; int g[21][21][2]; int n,s,t,i,j,m,x,a,ma; bool f; int main(){ freopen("1.txt","r",stdin); int d; memset(lt,0,sizeof(lt)); memset(g,0,si zeof(g)); cin>>n; for(i=1;i<=
#include const int maxn = 301; int c1[maxn], c2[maxn]; int main() { freopen("file.in", "r", stdin); int elem[17] = {1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289}; int i, j, k, n; while (scanf("%d", &n) && n) { for (i = 0; i <= n; i++)