11 2007 档案
优先队列
摘要:#include #include const int MaxPQSize = 50; typedef int DataType; class PQueue { private: int count; DataType pqlist[MaxPQSize]; public: PQueue(void); void PQInsert(const DataType& item); ... 阅读全文
posted @ 2007-11-21 22:45 IT Person 阅读(259) 评论(0) 推荐(0)
队列
摘要:#include #include typedef int DataType; const int MaxQSize = 50; class Queue { private: int front; int rear; int count; DataType qlist[MaxQSize]; public: Queue(void); void QInsert(cons... 阅读全文
posted @ 2007-11-21 22:44 IT Person 阅读(245) 评论(0) 推荐(0)
栈之后缀计算器
摘要:#include #include const int MaxStackSize = 50; typedef double DataType; class Stack { private: DataType stacklist[MaxStackSize]; int top; public: Stack(void); void Push(const DataType& it... 阅读全文
posted @ 2007-11-17 16:09 IT Person 阅读(462) 评论(0) 推荐(0)
栈之多进制输出
摘要:#include #include const int MaxStackSize = 50; typedef int DataType; class Stack { private: DataType stacklist[MaxStackSize]; int top; public: Stack(void); void Push(const DataType& item)... 阅读全文
posted @ 2007-11-11 01:12 IT Person 阅读(268) 评论(0) 推荐(0)
顺序表(数组实现)
摘要:#include #include const int MaxListSize = 50; typedef int DataType; class SeqList { private: DataType listitem[MaxListSize]; int size; public: SeqList(void); //the method of access elemen... 阅读全文
posted @ 2007-11-10 22:04 IT Person 阅读(833) 评论(0) 推荐(0)
顺序查找和折半查找
摘要:#include /** * Description: liner sort. * Date: 2007-11-10 */ int linerSort(int List[], int n, int num) { for (int i = 0; i < n; i++) { if (List[i] == num) { return i; } } return -1... 阅读全文
posted @ 2007-11-10 19:00 IT Person 阅读(311) 评论(0) 推荐(0)
一位软件工程师的6年总结
摘要:“又是一年毕业时”,看到一批批学子离开人生的象牙塔,走上各自的工作岗位;想想自己也曾经意气风发、踌躇满志,不觉感叹万千……本文是自己工作6年的经历沉淀或者经验提炼,希望对所有的软件工程师们有所帮助,早日实现自己的人生目标。本文主要是关于软件开发人员如何提高自己的软件专业技术方面的具体建议,前面几点旨在确定大的方向,算是废话吧。 谨以此文献给那个自己为你奉献3年青春与激情的开发团队。还有团队成员... 阅读全文
posted @ 2007-11-10 13:19 IT Person 阅读(236) 评论(0) 推荐(0)
Java学习,是一条漫长的道路
摘要:我在Java 1.0正式问世前就开始学习Java,这么多年过去了,到现在我的Java学习历程还没有停过。我阅读原文书,研究原始码,撰写程序,自认为走得扎实,不奢望一步登天。像我这样老式的学习方式,显然和现在的快餐主义背道而驰。从许多读者的来信和学生的反应中,我发现大多数的人对于Java的学习历程都差不多是:因为公司需要使用Java来进行服务器的计画,所以急急忙忙地学习Java语言,然后就开始使用... 阅读全文
posted @ 2007-11-10 13:07 IT Person 阅读(197) 评论(0) 推荐(0)
设计模式的学习【转】
摘要:随便谈谈我对设计模式的看法吧。我极度反感言必称设计模式,什么要学好OO,必先学好Gof这类的屁话。坦率说我也从来不刻意的去学习设计模式,我看到身边的朋友花那么多钱去买一大本厚厚的阎博士的设计模式的书,心里总是叹息一下,设计模式不是学出来的,是用出来的。设计模式应该怎么学习?应该我花两个小时给你讲一下,告诉你每个模式是怎么回事,应该在什么场合适用就OK了,这样就学完了。 然后你在自己的工作实践中,碰... 阅读全文
posted @ 2007-11-10 12:26 IT Person 阅读(194) 评论(0) 推荐(0)
Spring Study[13]
摘要:Managing Hibernate resources: As we said, you will keep a single instance of a SessionFactory throughout the life of your application. The preferred way to do this is to wire a DataSource to the Loca... 阅读全文
posted @ 2007-11-09 22:35 IT Person 阅读(270) 评论(0) 推荐(0)
Spring Study[12]
摘要:There is also a subinterface you can implement that is useful for retrieving multiple objects through a query. Suppose we want a method that retrieves all of our Person objects. To do this we would im... 阅读全文
posted @ 2007-11-09 22:33 IT Person 阅读(264) 评论(0) 推荐(0)
Spring Study[11]
摘要:The complement to PreparedStatementCreator is PreparedStatementSetter. receive a PreparedStatement and are responsible for setting any of the parameters. Since many updates consist of creating a Prepa... 阅读全文
posted @ 2007-11-09 22:31 IT Person 阅读(260) 评论(0) 推荐(0)
Spring Study[10]
摘要:the service objects are accessing the DAOs through interfaces.This has a couple of advantages. First, it makes your service objects easily testable since they are not coupled to a specific data access... 阅读全文
posted @ 2007-11-09 22:28 IT Person 阅读(251) 评论(0) 推荐(0)
Spring Study[9]
摘要:Using dynamic pointcuts: Spring provides one built-in dynamic pointcut: ControlFlowPointcut. javax.servlet.http.HttpServlet MyService servletA... 阅读全文
posted @ 2007-11-04 18:18 IT Person 阅读(195) 评论(0) 推荐(0)
Spring Study[8]
摘要:Regular expression pointcuts: when you are using the RegexpMethodPointcut, you need to include the Jakarta Commons ORO 3 library in your application. .*get.+By.+ com.springinaction.chapter... 阅读全文
posted @ 2007-11-04 15:05 IT Person 阅读(153) 评论(0) 推荐(0)
Spring Study[7]
摘要:Around advice: MethodInterceptor provides the ability to do both in one advice object. the MethodInterceptor implementation controls whether the target method is actually invoked. Throws advice: Throw... 阅读全文
posted @ 2007-11-04 15:04 IT Person 阅读(254) 评论(0) 推荐(0)
Spring Study[6]
摘要:Aspect: An aspect is the cross-cutting functionality you are implementing.The most common (albeit simple) example of an aspect is logging. Joinpoint: A joinpoint is a point in the execution of the app... 阅读全文
posted @ 2007-11-04 15:02 IT Person 阅读(261) 评论(0) 推荐(0)
一个女程序员的奋斗经历
摘要:一.并不成功的开始 我所读的学校是中国西部的一所普通高校。我进大学后也和大多数同学一样,过着60分万岁的日子,除了对编程比较感兴趣外。(呵呵,好多室友都说我外表女人,内心却男人:喜欢写程序,喜欢和男生打星际,喜欢打CS选土匪,拿AK47)四年的大学生活淘进了我刚进校时的傲气与自尊,在栀子花开的季节,我面对的却是无法把握的未来。毕业了,是的,四年象梦一样。男友执意去了中国最繁荣的大都市,我却希... 阅读全文
posted @ 2007-11-03 18:53 IT Person 阅读(1413) 评论(2) 推荐(1)
修炼一名程序员的职业水准(林庆忠__署名原创)
摘要:作者:林庆忠,1990年毕业于昆明工学院计算机软件专业,后又于1999年毕业在南京大学 完成软件工程专业硕士的学习,现供职于CNPC旗下的一个行业软件研发中心,因为在网上看了许多有经验的各路软件开发人员写的好帖,一时手痒兴起,也凑一篇壮壮声势。 假设你是一名软件专业毕业的本科学子,如何在工作中修炼成为一名有较高职业水准的程序员呢,本文试图总结作者从事15年软件开发工作的感想,希望对有志成为职业... 阅读全文
posted @ 2007-11-01 20:17 IT Person 阅读(262) 评论(0) 推荐(0)