不疯不成魔

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2015年7月30日

摘要: //// main.m// LessonReturnFunPointer//// Created by laouhn on 15/7/29.// Copyright (c) 2015年 池海涛. All rights reserved.//#import #import "Function.... 阅读全文
posted @ 2015-07-30 09:12 不疯不成魔 阅读(207) 评论(0) 推荐(0) 编辑

摘要: //// main.m// LessionFunctionPointer//// Created by laouhn on 15/7/29.// Copyright (c) 2015年 池海涛. All rights reserved.//#import #import "Function.... 阅读全文
posted @ 2015-07-30 08:59 不疯不成魔 阅读(621) 评论(0) 推荐(0) 编辑

摘要: //// main.m// LessonMemory//// Created by laouhn on 15/7/28.// Copyright (c) 2015年 池海涛. All rights reserved.//#import struct student { char nam... 阅读全文
posted @ 2015-07-30 08:54 不疯不成魔 阅读(236) 评论(0) 推荐(1) 编辑

摘要: //// main.m// LessonPointerPro//// Copyright (c) 2015年 池海涛. All rights reserved.//#import #import "Function.h"#define PI 3.1415926#define kMul(A,B)... 阅读全文
posted @ 2015-07-30 08:50 不疯不成魔 阅读(167) 评论(0) 推荐(0) 编辑

2015年7月24日

摘要: //// main.m// LessionPointer//// Created by laouhn on 15/7/24.// Copyright (c) 2015年 池海涛. All rights reserved.//#import void jiaohuan(int *a,int *... 阅读全文
posted @ 2015-07-24 20:10 不疯不成魔 阅读(260) 评论(0) 推荐(0) 编辑

摘要: //// main.m// LesssonScale//// Created by laouhn on 15/7/23.// Copyright (c) 2015年 池海涛. All rights reserved.//#import int main(int argc, const char * ... 阅读全文
posted @ 2015-07-24 10:08 不疯不成魔 阅读(259) 评论(0) 推荐(0) 编辑

2015年7月22日

摘要: //// main.m// LessonStruct//// Copyright (c) 2015年 池海涛. All rights reserved.//#import #import "Function.h"int main(int argc, const char * argv[]) {... 阅读全文
posted @ 2015-07-22 21:44 不疯不成魔 阅读(599) 评论(0) 推荐(0) 编辑

摘要: #import #import "Function.h"int main(int argc, const char * argv[]) {//函数定义 /*返回值类型 函数名(参数1, 参数2, 参数3, 参数4) { 函数体; return 返回值; } ... 阅读全文
posted @ 2015-07-22 21:40 不疯不成魔 阅读(668) 评论(0) 推荐(0) 编辑

2015年7月21日

摘要: //模拟n个人参加选举的过程,并输出选举结果:假设候选人有四个,分别用A,B,C,D表示,当选某人时,直接输入其编号(由计算机随机产生),选举结束后按得票率从高到低输出候选人编号和所得票数 int number = 0; int rand = 0; int temp = 0; ... 阅读全文
posted @ 2015-07-21 09:56 不疯不成魔 阅读(142) 评论(0) 推荐(0) 编辑

2015年7月18日

摘要: #import int main(int argc, const char * argv[]) {/*有一对兔子,从出生后第3个月起每个月都生一对兔子,小兔子长到第3个月后每个月又生一对兔子,假如兔子都不死,问每个月的兔子总数为多少? 1 2 3 4 5 6 7 8 9 1 1 2 3 5 8 */... 阅读全文
posted @ 2015-07-18 17:40 不疯不成魔 阅读(230) 评论(0) 推荐(0) 编辑

摘要: //// main.m// Mypritice1//// Created by laouhn on 15/7/18.// Copyright (c) 2015年 池海涛. All rights reserved.//#import int main(int argc, const char ... 阅读全文
posted @ 2015-07-18 10:10 不疯不成魔 阅读(253) 评论(0) 推荐(0) 编辑

摘要: #import int main(int argc, const char * argv[]) { //创建5个整型变量 //对器 ctrl + i// int a = 1;// int b = 2;// int c = 3;// int d = 4;// ... 阅读全文
posted @ 2015-07-18 08:54 不疯不成魔 阅读(126) 评论(0) 推荐(0) 编辑

2015年7月17日

摘要: //// main.m// LessonCircle//// Created by laouhn on 15/7/16.// Copyright (c) 2015年 池海涛. All rights reserved.//#import int main(int argc, const cha... 阅读全文
posted @ 2015-07-17 11:52 不疯不成魔 阅读(140) 评论(0) 推荐(0) 编辑

2015年7月15日

摘要: //// main.m// LessonCondition//// Created by laouhn on 15/7/15.// Copyright (c) 2015年 David. All rights reserved.//#import int main(int argc, cons... 阅读全文
posted @ 2015-07-15 21:03 不疯不成魔 阅读(135) 评论(0) 推荐(0) 编辑

摘要: //// main.m// LessonBasic//// Created by laouhn on 15/7/14.// Copyright (c) 2015年 David. All rights reserved.//#import int main(int argc, const ch... 阅读全文
posted @ 2015-07-15 20:58 不疯不成魔 阅读(165) 评论(0) 推荐(0) 编辑

2015年1月1日

摘要: 最常见的是static void Main(string[] args){语句块}主函数必须由static关键字修饰,也就是说主函数必须是静态的。这个原因想想就明白了,主函数是入口,如果不用静态的那必须先要实例化,请问有谁能够实例主函数,这就是原因!string[] args 主函数的参数,很多人不... 阅读全文
posted @ 2015-01-01 13:00 不疯不成魔 阅读(148) 评论(0) 推荐(0) 编辑

摘要: 经常使用函数,下面对函数的重要内容--参数,进行一个总结在C#中函数调用传递的参数可以分为4类:值参数、引用参数、输出参数、数组参数。下面一一对他们讲解1.值参数(value parameter)他就是我们经常说的型参,实质就是对实参的拷贝,并没有对实参进行操作 class Program ... 阅读全文
posted @ 2015-01-01 12:34 不疯不成魔 阅读(285) 评论(0) 推荐(0) 编辑

2014年12月28日

摘要: static void Main(string[] args) { Console.Write(new Student("池海涛", 12)); //输出的是命名空间名和类名 Console.Read(); ... 阅读全文
posted @ 2014-12-28 19:24 不疯不成魔 阅读(639) 评论(0) 推荐(0) 编辑

2014年12月13日

摘要: create table Employees(EmpId int identity(1,1),EmpName varchar(50),EmpGender char(2),EmpAge int,EmpEmail varchar(100),EmpAddress varchar(500))gocreate... 阅读全文
posted @ 2014-12-13 12:08 不疯不成魔 阅读(181) 评论(0) 推荐(0) 编辑

2014年12月12日

摘要: 数据库-----》右键--------------》任务-------------》生成脚本可选择升生成什么样的脚本1.选择生成的数据库版本2。是否包含某些脚本 阅读全文
posted @ 2014-12-12 21:16 不疯不成魔 阅读(190) 评论(0) 推荐(0) 编辑

摘要: //启用连接池 string constr = "Data Sourse=zxtiger; Initial Catalog=itcastcn;Integrated Security=True"; Stopwatch watch = new Stopwatc... 阅读全文
posted @ 2014-12-12 20:49 不疯不成魔 阅读(302) 评论(0) 推荐(0) 编辑

摘要: using System;using System.Collections.Generic;using System.Linq;using System.Web;using System.Configuration;using System.Data.SqlClient;using System.D... 阅读全文
posted @ 2014-12-12 19:07 不疯不成魔 阅读(125) 评论(0) 推荐(0) 编辑

2014年12月4日

摘要: Cookie(小甜饼)1.Cookie是一种能够让网站服务器把少量数据(4kb左右)存储到客户端的硬盘或内存,并且读取出来的一种技术。2.当你浏览某个网站时,由Web服务器放置在你硬盘上的一个非常小的文本文件,它可以记录你的用户ID,浏览过的网页或者停留的时间等王章想要你保存的信息。当你再次通过浏览... 阅读全文
posted @ 2014-12-04 21:42 不疯不成魔 阅读(314) 评论(0) 推荐(0) 编辑

2014年9月29日

摘要: 页面pr方法内部处理过程:第一步:根据Form里面的请求内容(ViewState)确定是否是IsPostBack第二步:页面初始化之前 this.PerformPreInit() { this.OnPreInit(EventArgs.Empty);//一般在这里面... 阅读全文
posted @ 2014-09-29 11:57 不疯不成魔 阅读(178) 评论(0) 推荐(0) 编辑

2014年7月13日

摘要: 关于 jquery easyui 中的绑定列中的title显示 问题 title不显示是因为title 行没有设高 需要在css总 为title设置高 阅读全文
posted @ 2014-07-13 16:30 不疯不成魔 阅读(167) 评论(0) 推荐(0) 编辑

摘要: 1.工具 -选项-文本编辑器-文件扩展名-html-HTML(Web窗体)编辑器2.在解决方案管理器中找到一个html页面 右键 选择打开方式-选择HTML(Web窗体)编辑器 设为默认 点击确定 阅读全文
posted @ 2014-07-13 16:25 不疯不成魔 阅读(574) 评论(0) 推荐(0) 编辑