摘要: #include #include//get namespace related stuff using std::cin; using std::cout; using std::endl; using std::flush; using std::string; using std::vecto... 阅读全文
posted @ 2014-07-23 20:39 tt-player 阅读(743) 评论(0) 推荐(0) 编辑
摘要: #include // std::cout, std::boolalpha, std::noboolalphaint main () { bool b = true; std::cout << std::boolalpha << b << '\n'; //把bool表示为alpha... 阅读全文
posted @ 2014-07-23 20:36 tt-player 阅读(211) 评论(0) 推荐(0) 编辑
摘要: 问题idx:1) 怎么在VS2010下新建一个像VC6.0 中那样的控制台C++程序。 cdate: 2014-4-24A1:VC6.0 对标准C++集的支持不是太好, VS2010也有一些吧, 不要纠结与这个。 有些概念性的东西知道是怎么回事。选择一种可以达到目的的就可以了。 阅读全文
posted @ 2014-04-24 15:24 tt-player 阅读(186) 评论(0) 推荐(0) 编辑
摘要: [转]学习可以是一件很快乐的事,特别是当你发现以前所学的点点滴滴慢慢地能够串起来或者变成了一个环,这种感觉真好。这篇文章就这么来的。从MVC架构开始说起吧。这两天系统了解了一下MVC架构的内容,主要参考于文献【1】。MVC在这几年应该被非常多的人所熟悉了,因为相当多的web框架采用的是这套架构,此外,早在MFC横行的年代,MFC所采用的document/view架构也是MVC架构的变种。包括QT,它的model/view亦是如此。只不过它们都将MVC中的view和controller的功能整合到了一起。MVC的全称是model-view-controller architecture,最早被用 阅读全文
posted @ 2014-04-04 09:43 tt-player 阅读(11651) 评论(0) 推荐(0) 编辑
摘要: Class DiagramFigure 4.30 Elements of the class diagram关联,多重性; 聚合aggregation。In class diagrams, as shown in Figure 4.30, we work with the following elements:ClassA class represents a relevant concept from the domain, a set of persons, objects, or ideas that are depicted in the IT system:Examples of c 阅读全文
posted @ 2014-04-03 20:18 tt-player 阅读(753) 评论(0) 推荐(0) 编辑
摘要: 源地址:http://sourcemaking.com/uml/modeling-it-systems/structural-view/generalization-specialization-and-inheritance Generalization, Specialization, and InheritanceTerms such as superclass, subclass, or inheritance come to mind when thinking about the object-oriented approach. These concepts are very i 阅读全文
posted @ 2014-04-03 16:37 tt-player 阅读(1334) 评论(0) 推荐(0) 编辑
摘要: Published bySeraphimsanOct 13, 2010 (last update: Oct 14, 2010)When to use what language and why[转]http://www.cplusplus.com/articles/42E1wA7f/Score: 3.3/5 (98 votes)Its been debated here for the past couple of months what language is "the best" or more appropriately, "the worst" 阅读全文
posted @ 2014-03-22 08:55 tt-player 阅读(157) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/xianghang123/archive/2011/08/24/2152404.html c语言产生随机数的方法http://blog.sina.com.cn/s/blog_574f9aa00100rkis.html C语言,如何产生随机数(各种转载)h... 阅读全文
posted @ 2014-01-26 10:25 tt-player 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 1,用柠檬汁,放到碗里蒸,5分钟后,放置1分钟,后用抹布擦洗微波炉,很管用。 因为:柠檬汁里面有一种酸,可以和油脂结合,成脂,所以可以用。无负作用。 阅读全文
posted @ 2013-10-14 13:17 tt-player 阅读(118) 评论(0) 推荐(0) 编辑
摘要: 什么样的公司才是好公司?好公司的六大特征http://www.sina.com.cn 2003/07/02 13:56北京人才市场报 说一个公司好,指的是什么?答案是其人力资源管理水平。水平高者,员工心情好、收入好、工作踏实、浑身有劲……本文的作者是一位人事经理,他从人力资源管理的角度告诉你什么样的公司是好公司。 什么样的公司才能够称为好公司,是知名公司?是大公司?还是外资公司?社会上对于公司的划分有很多标准,有的以资本构成,有的以规模大小,有的以行业特点……到底什么样的公司是好公司呢?我认为好的的公司必须具备以下六种特征: 好的工资待遇 好公司肯定会有好的工资待遇。在这样的公司你不... 阅读全文
posted @ 2013-10-14 08:34 tt-player 阅读(476) 评论(0) 推荐(0) 编辑