Thursday, May 28, 2009

ICC工作机会?

ICC 工作机会? 一个$65000,一个$85000,可能是个trick?
看了网上的评价好像很差啊,还是避开为妙,继续奋斗.

Monday, May 18, 2009

c++ pointer and array

It took me a few days to fix the program to get the real time coordinates of a draganflyer from
Vicon 8i System.

My program is written in c++ with the application of Vicon Real Time SDK.

1, set up 6 vicon cameras and calibrated these cameras so that you can check the draganflyer with 5 markers on it in Vicon IQ, in IQ, create rigid body with 5 markers, the rigid body is named as draganflyer, the workstation IP address (192.168.1.230), the datastation IP address (192.168.1.117).

2, download Vicon Real Time SDK.

3, in Visual c++, create your own project, include VrtSDK10ex.h header files in your folder.
link with VrtSDK10ex.lib ( in Visual c++, Project--->Add Existing Item---> choose VrtSDK10ex.lib in your folder).

4, begin to write your own program,

char address1="192.168.1.230";
char *chIpAddress=address1;

int BodyCount=0; //zero based, the first body number is 0
int *p_BodyCount=&BodyCount; // for it has to have "&"

int my[3]={1,2,3};
int *ptr=my; //it means it get my[0];

char chBName[50]={};
char *p_chBName=chBName;

Pay attention to the difference of pointers usage in int, array. It took me a few days to figure it out. I am quite new to c++.

Tuesday, May 5, 2009

郑集教授养生学

郑集,1910年出生,中国营养学的奠基人,中国生物化学的开拓者之一。

(1)思想开朗,乐观积极,情绪稳定;
(2)生活有规律;
(3)坚持体力劳动和体育锻炼;
(4)注意休息和睡眠;
(5)注意饮食卫生,切忌暴饮暴食;
(6)严戒烟,少喝酒;
(7)节制性欲和不良嗜好;
(8)不忽视小病;
(9)注意环境卫生,多同阳光和新鲜空气接触;
(10)注意劳动保护,防止意外伤害。其中,乐观是十诀之首。