UML(Unified Modeling Language)统一建模语言。包括以下几个重要功能:可视化功能(Visualizing)说明功能(specifying)建造功能(Construting)建文档功能(Documenting)UML包括:使用案例图(User case diagrams)类图...
分类:
其他好文 时间:
2014-08-12 13:17:24
阅读次数:
309
原题http://poj.org/problem?id=2104
K-th Number
Time Limit: 20000MS
Memory Limit: 65536K
Total Submissions: 37130
Accepted: 11974
Case Time Limit: 2000MS
Description
...
分类:
其他好文 时间:
2014-08-11 17:57:42
阅读次数:
233
#include
// 窗口过程函数
LRESULT CALLBACK MyWndProc (HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_DESTROY:
PostQuitMessage (0);
return 0;
case WM_PAINT:
PAINTSTRU...
分类:
其他好文 时间:
2014-08-11 12:03:12
阅读次数:
175
有关touchEvent的事件里都有一个 MotionEvent 参数,下面来简单介绍一下它的属性的一些含义和使用的方法
通常单指操作时,一般如下:
switch (event.getAction()) {//第一个触摸点
case MotionEvent.ACTION_DOWN: //按下 = 0
float x = event.getX();
break;
case Mo...
分类:
移动开发 时间:
2014-08-11 12:00:02
阅读次数:
199
select中使用case whenlinq代码:Products.Select(P => new{ID = P.ProductID,Name = P.Name,Color = P.Color,Price = (P.Color == "Red" ? P.StandardCost : (P.Color...
分类:
其他好文 时间:
2014-08-11 11:39:02
阅读次数:
726
PowerDesigner是一款功能很强大的建模工具软件,足以与Rose比肩,相同是当今最著名的建模软件之中的一个。Rose是专攻UML对象模型的建模工具,之后才向数据库建模发展,而PowerDesigner则与其正好相反,它是以数据库建模起家,后来才发展为一款综合全面的Case工具。PowerDe...
分类:
其他好文 时间:
2014-08-11 00:04:30
阅读次数:
334
#include 头文件atof 将字符串 转化为 一个双精度值 int atof(a) #include #includedouble exp(){ char a[20];scanf("%s",a) ;switch(a[0]) { case'+': re...
分类:
其他好文 时间:
2014-08-10 21:11:50
阅读次数:
314
一:12格结构 二: Hello, world! 区域一 Bootstrap has a few easy ways to quickly get started, each one appealing to a different skill level and use case....
分类:
Web程序 时间:
2014-08-10 12:53:10
阅读次数:
246
问题描述:求1+2+…+n,要求不能使用乘除法、for、while、if、else、switch、case等关键字以及条件判断语句(A?B:C)。分析:利用类的静态变量实现:new一含有n个这种类的数组,那么该类的构造函数将会被调用n次。代码实现: 1 // 12.cc 2 #include 3 ....
分类:
其他好文 时间:
2014-08-09 21:26:49
阅读次数:
242
这道题真心是难度比较大,不是算法难度,是实现难度,各种case都得考虑到。我没有A过,一开始就把.1这种case当做是错误的。导致程序逻辑乱套了。下面是别人的代码: 1 class Solution { 2 public: 3 bool isNumber(const char *s) { 4...
分类:
其他好文 时间:
2014-08-09 21:21:59
阅读次数:
347