上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 68 下一页
摘要: #include #include #include #define datatype int struct array { datatype *pstart;//数组首地址 int length;//长度 int sortstat;//有序或者无序 0 无序 1 有序 }; void init(struct array *parr); void initwit... 阅读全文
posted @ 2016-04-13 09:37 喵小喵~ 阅读(147) 评论(0) 推荐(0)
摘要: 1 #include 2 #include 3 #include 4 5 char str[1024]="569603080----zj123456789 \ 6 94940443----zj123456789 \ 7 260024036----zj1456789 \ 8 707611428----zj123456789 \ 9 793516568--... 阅读全文
posted @ 2016-04-12 11:27 喵小喵~ 阅读(346) 评论(0) 推荐(0)
摘要: //str.insert(1, "bbb"); //str.erase(5);//删除5以后的数字 //str.erase(str.begin()+2);//删除某个字符 //cout << str.substr(1,3); 阅读全文
posted @ 2016-03-18 16:50 喵小喵~ 阅读(122) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> void show(int *p, int size) { for (int i = 0; i < size; i++) { printf("%4d", p[i]); } printf("\n"); } void find 阅读全文
posted @ 2016-02-06 18:25 喵小喵~ 阅读(203) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> void swap(int *pi, int *pj)//交换数据 { int temp = *pi; *pi = *pj; *pj = temp; } void show(int *p,int n)//显示数组状态 { 阅读全文
posted @ 2016-02-02 22:16 喵小喵~ 阅读(211) 评论(0) 推荐(0)
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> #include <string.h> #include <Windows.h> #include <memory.h> #define path "E:\\ 阅读全文
posted @ 2016-02-01 20:59 喵小喵~ 阅读(252) 评论(0) 推荐(0)
摘要: #include <stdio.h> #include <stdlib.h> #include <process.h> #include <Windows.h> void run1(void *p) { MessageBox(0, L"1", L"1", 0); } void run2(void * 阅读全文
posted @ 2016-01-30 09:38 喵小喵~ 阅读(435) 评论(0) 推荐(0)
摘要: #include <iostream> using namespace std; int add(int a, int b) { return a + b; } int(*op())(int a, int b)//函数指针的参数在后面,里面括号是这个函数的参数 { return add; } voi 阅读全文
posted @ 2016-01-29 21:22 喵小喵~ 阅读(218) 评论(0) 推荐(0)
摘要: #include #include void main(){ int **pp = (int **)malloc(sizeof(int *)* 5); int num = 0; for (int i = 0; i < 5; i++) { pp[i] = (int... 阅读全文
posted @ 2016-01-24 16:37 喵小喵~ 阅读(408) 评论(0) 推荐(0)
摘要: hWnd = CreateWindow(szWindowClass, szTitle, WS_SYSMENU | WS_MINIMIZEBOX,//不可最大化 500, 200,X_SIZE+18, Y_SIZE+18, NULL, NULL, hInstance, NULL);//50... 阅读全文
posted @ 2016-01-20 16:25 喵小喵~ 阅读(205) 评论(0) 推荐(0)
上一页 1 ··· 56 57 58 59 60 61 62 63 64 ··· 68 下一页