- 浏览: 17568 次
- 性别:
- 来自: 福州
最新评论
文章列表
1) Create an array
var mycars = new Array();
mycars[0] = "Saab";
mycars[1] = "Volvo";
mycars[2] = "BMW";
var i;
for (i = 0; i < mycars.length; i++) {
document.write(mycars[i] + "<br />");
}
2) Join two arrays
var parents = ["Jani& ...
多媒体会议可参考的资料
0) VoIP/SIP/RTP/SDP Tutorial http://www.siptutorial.net
1) Java RTP source code http://sourceforge.net/projects/jlibrtp/
2) Jingle: XEP-0272: Multiparty Jingle (Muji) [XMPP XEP-0272]
3) SIP: Session Initiation Protocol [RFC 3261]
4) RTP: A Transport Protocol for Real-Time Applications [35 ...
// cool.h 头文件,定义父类和子类。
typedef struct {
char* name;
int age;
} Person;
void setName(Person* person, char* name);
char* getName(Person* person);
void setAge(Person* person, int age);
int getAge(Person* person);
typedef struct {
Person person;
char** listOfCourses;
int numOfCourses ...
#include <stdio.h>
#include <stdio.h>
#define ERROR -1;
/* 函数原型声明 */
typedef int (*mapFunction)(int);
typedef int (*reduceFunction)(int, int);
void map(mapFunction func, int *list, int len) {
int i;
for (i = 0; i < len; i++) {
list[i] = func(list[i]);
}
}
int ...