文章列表
html5 canvas例子
- 博客分类:
- web
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>HTML5</title>
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js& ...
JavaScript自定義對象
- 博客分类:
- web
<script type="text/javascript">
function Person() {
this.name='undefined';
this.getname=function() {
return "I am " + this.name;
};
this.setname=function(name) {
this.name=name;
};
}
person1 = new Person();
person1.setname('Alan');
alert(person1.ge ...
// callbackThunk.cpp : Defines the entry point for the console application.
//
#include "stdio.h"
#include "stdlib.h"
class A;
typedef unsigned long DWORD;
typedef unsigned char BYTE;
typedef void (*FuncA)(int a);
typedef void (A::*AFuncB)(int a);
typedef void (__stdcall ...