由于仅贴出代码,供有缘人参考。import
java.awt.AlphaComposite;import java.awt.Graphics;import
java.awt.Graphics2D;import java.awt.event.ActionEvent;import java.awt.ev...
分类:
其他好文 时间:
2014-04-28 18:32:56
阅读次数:
394
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:25:33
阅读次数:
629
#import "RootViewController.h"@interface
RootViewController ()@end@implementation RootViewController-
(id)initWithNibName:(NSString *)nibNameOrNil bun...
分类:
移动开发 时间:
2014-04-28 17:19:46
阅读次数:
596
#include #include // 操作符// 优先级 符号 运算顺序// 1 ! 从右至左//
2 * / % 从左至右// 3 + - 从左至右// 4 = 从右至左int op_preced(const char c){ switch(c)...
分类:
其他好文 时间:
2014-04-28 02:09:18
阅读次数:
476
//: WIND2.CPP -- Inheritance &
upcasting#include enum note { middleC, Csharp, Cflat }; // Etc.class instrument
{public: void play(note) const { // ...
分类:
其他好文 时间:
2014-04-28 01:35:42
阅读次数:
1272
http://acm.hdu.edu.cn/showproblem.php?pid=1596
1 #include 2 #include 3 #include 4 #define maxn 1001 5 using namespace std; 6 7
double g[maxn][maxn...
分类:
其他好文 时间:
2014-04-28 01:18:06
阅读次数:
597
//: ORDER.CPP -- Order of constructor calls // with
inheritance#include #define inherit(derived, base) \class derived : public base
{ \public: \ deri....
分类:
其他好文 时间:
2014-04-28 00:09:24
阅读次数:
444
#include class base {public: virtual void v() const
= 0; virtual void f() const = 0 { // 纯虚函数也有实现内容,但子类仍然必须实现这个虚函数 cout <<
"base::f()\n"; }};voi...
分类:
其他好文 时间:
2014-04-27 23:47:48
阅读次数:
561
1 //Accepted 0MS 232K 2 #include 3 #include 4
int ans; 5 int t; 6 int n; 7 void slove() 8 { 9 int x;10 ans=0;11 t=0;12 for
(int i=0...
分类:
其他好文 时间:
2014-04-27 23:08:07
阅读次数:
625
前三次作业都是基础语法。真的好水啊。从这次开始记录。1.编写Java程序,把当前目录下扩展名为txt的文件的扩展名全部更名为back。
1 import java.io.*; 2 import java.lang.*; 3 4 5 public class Home { 6 7 ...
分类:
编程语言 时间:
2014-04-27 23:00:20
阅读次数:
856