摘要: <?php /** * wechat php test */ //define your token define("TOKEN", "<span style="color:#ff0000;">xxxxx</span>"); $wechatObj = new wechatCallbackapiTes 阅读全文
posted @ 2016-02-25 11:17 YD帅宰 阅读(278) 评论(0) 推荐(0) 编辑
摘要: /* #include <stdio.h> #include <string.h> typedef struct student { int age; char name[20]; char sex[10]; }Stu; int main(int argc, const char * argv[]) 阅读全文
posted @ 2016-02-19 19:56 YD帅宰 阅读(190) 评论(0) 推荐(0) 编辑
摘要: 1形参不写数组元素个数, 实参传递数组首地址 改变形参内容,实参随之改变 2 #include<stdio.h> #include"stdio.h" 双引号为自己定义的,尖括号为系统的 3 int change(int a,int b) { return 0; } 这就是一个函数,交换俩个数 c=c 阅读全文
posted @ 2016-02-18 17:57 YD帅宰 阅读(91) 评论(0) 推荐(0) 编辑
摘要: /* { int a,b,rst,c; scanf("%d,%d,%d",&a,&b,&c); switch(c) { case 1: rst=a+b;printf("%d\n",rst);break; case 2: rst=a-b;printf("%d\n",rst);break; case 3 阅读全文
posted @ 2016-02-17 19:27 YD帅宰 阅读(136) 评论(0) 推荐(0) 编辑
摘要: { int a,b; printf("a为星期几,b为车牌尾号\n"); scanf("%d,%d",&a,&b); switch(a) {case 1: switch(b) { case 2: case 7: printf("不可行驶\n");break; default: printf("可行驶 阅读全文
posted @ 2016-02-17 11:40 YD帅宰 阅读(458) 评论(0) 推荐(0) 编辑
摘要: // // main.c // C // // Created by 帅 on 16/2/16. // Copyright © 2016年 帅. All rights reserved. // #include <stdio.h> int main(int argc, const char * ar 阅读全文
posted @ 2016-02-16 19:45 YD帅宰 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-01-26 11:21 YD帅宰 阅读(96) 评论(0) 推荐(0) 编辑