8月2号

今天上午接到一个面试.结果gmail自动把面试邮件放到垃圾箱了,害我找了大半天.

日子过得无奈阿,我都自己打电话到人家公司让HR给我发面试邮件了,

叫什么来着,垃圾堆里捡回东西阿.

晚上妈妈给我打电话,让我别着急,慢慢找工作吧.

唉,世上只有妈妈好.

明天下午2点有面试,我准备现在开始把小华华的面试题看一遍.

Java八种基本类型 byte,boolean,char,short,int,long,float,double
byte boolean 1个字节
char short 2个字节
int float 4字节
long double 8个字节

今天还学了JNI C语言基础 重要的是

占位符的一一对应

%d  -  int.   %ld – long int.  %c  - char.   %f -  float
%lf  – double.   %s--字符串
%x--按十六进制输出或者%#x在前面多一个0x.   %0 --按八进制输出
 
 
 
 
l

#include<stdio.h>

void swap(int* p, int* q)
{
int temp;

temp = *p;
*p = *q;
*q = temp;
}

main()
{
int i ,j;

scanf("%d",&i);
scanf("%d",&j);
printf("交换前i=%d, j=%d\n" ,i,j);
swap(&i,&j);
printf("交换后i=%d, j=%d\n" ,i,j);

system("pause");
}

posted on 2012-08-02 21:33  lightman_21  阅读(113)  评论(0)    收藏  举报

导航