首页 > 编程语言
c#学习笔记线程
多线程,顾名思义,就是在一个应用中实现多个任务,在c#中,线程Threads包含在System.Threading的namespace中。一、创建一个threads,最简单的方法就是创建一个threads实例eg: Thread myThread = new Thread( new ThreadSt...
分类:编程语言   时间:2015-05-11 14:27:00    收藏:0  评论:0  赞:0  阅读:187
JAVA,NET RSA密钥格式转换
JAVA和NET RSA密钥格式相互转换(公钥,私钥)不多说直接上代码,需要引用开源类库BouncyCastle.Crypto.dll也可以在这里下载http://downloads.bouncycastle.org/csharp/bccrypto-net-1.7-bin.zip以下为转化代码 1 ...
分类:编程语言   时间:2015-05-11 14:24:50    收藏:0  评论:0  赞:0  阅读:2065
C语言学习-12
题目:输入一行字符,分别统计出其中英文字母、空格、数字和其它字符的个数。#includeint main(void){ char c; int letters = 0, space = 0, digit = 0, others = 0; while ((c=getchar())...
分类:编程语言   时间:2015-05-11 14:23:30    收藏:0  评论:0  赞:0  阅读:200
Java EE (2) -- Java EE 6 Enterprise JavaBeans Developer Certified Expert
Introduction to Java EEGain an understanding of the Java Platform, Enterprise Edition (Java EE)Examine the Java EE application architectureExamine Jav...
分类:编程语言   时间:2015-05-11 14:23:20    收藏:0  评论:0  赞:0  阅读:221
c语言预处理命令
C语言预处理命令的总结大全2012-05-02 00:00中国IT实验室佚名.关键字:C语言 C程序的源代码中可包括各种编译指令,这些指令称为预处理命令。虽然它们实际上不是C语言的一部分,但却扩展了C程序设计的环境。本节将介绍如何应用预处理程序和注释简化程序开发过程,并提高程序的可读性。ANSI.....
分类:编程语言   时间:2015-05-11 14:21:30    收藏:0  评论:0  赞:0  阅读:264
Java EE (7) -- Java EE 6 Enterprise Architect Certified Master
Application Design Concepts and PrinciplesIdentify the effects of an object-oriented approach to system design including the effect of encapsulation, ...
分类:编程语言   时间:2015-05-11 14:21:20    收藏:0  评论:0  赞:0  阅读:274
Spring整合Hessian
Spring让Hessian变得不但强大,而且易用,但是易用背后,却有不少陷阱!这个例子很简单,但实际上的确花费了我超过一小时的时间,排除了种种问题,最后问题终于水落石出。整合以上篇Hello Hessian为基础,加入Spring框架,进行改进。一、环境jdk1.5http://labs.xiao...
分类:编程语言   时间:2015-05-11 14:20:40    收藏:0  评论:0  赞:0  阅读:321
C#学习第八弹之线程基础理解
学过Linux或者Java的应该都知道线程的概念,C#也支持通过多个线程来并行执行任务。任何一个C#的程序会开始于一个单线程(由CLR和OS自动创建的主线程)。下面是简单的例子: 1 using System; 2 using System.Threading; 3 4 namespace ...
分类:编程语言   时间:2015-05-11 14:19:40    收藏:0  评论:0  赞:0  阅读:311
C#线程
线程(Thread)是进程中一个单一的顺序控制流程。线程是进程中的实体。一个进程可以有多个线程,一个线程必须有一个父进程。线程一般具有read,blocking和operation三种基本状态。由三种基本状态,衍化出五种线程的基本操作。首先,derive,线程是在进程内派生出来的。其次,schedu...
分类:编程语言   时间:2015-05-11 14:14:30    收藏:0  评论:0  赞:0  阅读:267
Java EE (6) -- Java EE 5 Enterprise Architect Certified Master
Section 1: Application Design Concepts and PrinciplesExplain the main advantages of an object-oriented approach to system design including the effect ...
分类:编程语言   时间:2015-05-11 14:13:50    收藏:0  评论:0  赞:0  阅读:229
java导出excel超出65536条处理( 转)
java导出excel超出65536条处理IT社区推荐资讯 - ITIndex.net Apr 20poi包导出excel超出65536报错: java.lang.IllegalArgumentException: Invalid row number (65536) outside allow 解...
分类:编程语言   时间:2015-05-11 14:13:20    收藏:0  评论:0  赞:0  阅读:503
Servlet3.0中WEB-INF\lib下的jar包中的资源可以直接通过浏览器访问
看公司中的一个项目,访问了一个路径: http://127.0.0.1:8080/XXX/v2/jquery-1.8.1.min.js 但是看项目中的web资源并没有这个js文件,甚至连v2这个目录都没得,就觉得奇怪 便看了下web.xml中是否有相应的Filter之类的...
分类:编程语言   时间:2015-05-11 13:09:10    收藏:0  评论:0  赞:0  阅读:415
【Struts2+Hibernate3+Spring3】利用SSH整合,完成打印用户表,用户登录、注册、修改密码系统
本文视图尽可能不杂糅其它技术,尽可能少写代码,完成SSH整合。以致于各位在现有网上资料越来越天花龙凤之下,清晰地了解到传说中的三大框架SSH是怎么整合的。 一、SSH的下载 首先SSH的下载就已经是一个难点。SSH三个地方同时推出各自的新技术,已经要求利用Maven完成其版本的同步。毕竟Spring的版本,决定其能整合什么版本的Struts与Hibernate。Spring3.0.5就...
分类:编程语言   时间:2015-05-11 13:07:40    收藏:0  评论:0  赞:0  阅读:343
java io 学习之三 字符流的缓冲区
/** 字符流的缓冲区 缓冲区的出现,提高了对数据的读写效率 对应的类: BufferedWriter BufferedReader 缓冲区要结合流才可以使用 缓冲区是在流的基础上对流的功能进行增强   软件的优化可以分为:设计优化和性能优化 设计优化:对代码进行重构,让代码实现更强的可扩展性和灵活性,复用性。 提高性能最常用的的手段是:缓冲区  线程池   Bu...
分类:编程语言   时间:2015-05-11 13:06:30    收藏:0  评论:0  赞:0  阅读:322
使得任何Bean在Spring IOC容器中可以访问request、session、global Session作用域,RequestContextListener
首先在web.xml配置 ... org.springframework.web.context.request.RequestContextListener ... 然后在你的Bean中获取request ... HttpServletRequest request = ((ServletRequest...
分类:编程语言   时间:2015-05-11 13:04:41    收藏:0  评论:0  赞:0  阅读:344
MyBatis-Spring配置简单了解
MyBatis-Spring配置简单了解SqlSessionFactoryBean配置在基本的 MyBatis 中,session 工厂可以使用 SqlSessionFactoryBuilder 来创建。而在 MyBatis-Spring 中,则使用 SqlSessionFactoryBean 来替代。示例<bean id="sqlSessionFactory" class="org.mybatis...
分类:编程语言   时间:2015-05-11 13:03:40    收藏:0  评论:0  赞:0  阅读:381
python进阶(数据结构和算法[三])
在字典上将键映射到多个值上一键多值字典d = {'a':[1,2,3], 'b':[4,5]} e = {'a':{1,2,3}, 'b':{4,5}}可以使用from collections import defaultdict使用默认字典类,它的一个特点是自动初始化第一个值,后面只需要关注添加元素即可。from collections import defaultdict d = default...
分类:编程语言   时间:2015-05-11 13:03:12    收藏:0  评论:0  赞:0  阅读:258
java.io.IOException: You have to specify '-keep' options for the shrinking step.
执行Maven Install打包的时候,出现以下错误信息:[proguard] java.io.IOException: You have to specify '-keep' options for the shrinking step. [proguard] at proguard.SeedPrinter.write(SeedPrinter.java:60) [proguard]...
分类:编程语言   时间:2015-05-11 13:02:30    收藏:0  评论:0  赞:0  阅读:774
proguard.ParseException: Expecting keyword 'class', 'interface', or 'enum' before '-libraryjars' in
执行Maven Install打包的时候,出现以下错误信息: [proguard] proguard.ParseException: Expecting keyword 'class', 'interface', or 'enum' before '-libraryjars' in argument number 7 [proguard] at proguard.Configuration...
分类:编程语言   时间:2015-05-11 13:01:50    收藏:0  评论:0  赞:0  阅读:369
Error: Expecting keyword 'class', 'interface', or 'enum' before '-optimizationpasses' in line 11 of
执行Maven Install打包的时候,出现以下错误信息: [proguard] Error: Expecting keyword 'class', 'interface', or 'enum' before '-optimizationpasses' in line 11 of file 'F:\Workspaces\pro-test\proguard.conf', [proguard]...
分类:编程语言   时间:2015-05-11 13:01:40    收藏:0  评论:0  赞:0  阅读:260
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!