第一部分
1.对sizeof()的考察很深入
2.debug环境下的##,不懂
3.选择
4.类的虚函数
5.
6.
7.
8.
第二部分
主要是networks,考到IPV4 IPV6 DNS 网络中的传输等,不会,全蒙的
第三部分
阅读题,有ABCDE五个英文选项,根据题目所述选出最能符合或者最不符合题设的一项,一点都不难但是做的很慢,以至于后来么的时间去做编程题
第四部分
8题读程序找错误并说明错误的原因,相当有挑战
第五部分
编程题及开放问题
1.逆序
char * strrev(char *s)
{
int j,k,c;
for(k=0;s[k] != 0;k++);
for(j=0,k--;j<k;j++,k--) {
c = s[j];
s[j] = s[k];
s[k] = c;
}
return s;
}
2.从一个字符串中查找另一个字符串
/*******************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2004 AT&T Corp. *
* and it may only be used by you under license from *
* AT&T Corp. ("AT&T") *
* A copy of the Source Code Agreement is available *
* at the AT&T Internet web site URL *
* *
* http://www.research.att.com/sw/license/ast-open.html *
* *
* If you have copied or used this software without agreeing *
* to the terms of the license you are infringing on *
* the license and copyright and are violating *
* AT&T's intellectual property rights. *
* *
* Information and Software Systems Research *
* AT&T Labs Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
*******************************************************************/
#pragma prototyped
#if defined(__STDPP__directive) && defined(__STDPP__hide)
__STDPP__directive pragma pp:hide strstr
#else
#define strstr ______strstr
1.对sizeof()的考察很深入
2.debug环境下的##,不懂
3.选择
4.类的虚函数
5.
6.
7.
8.
第二部分
主要是networks,考到IPV4 IPV6 DNS 网络中的传输等,不会,全蒙的
第三部分
阅读题,有ABCDE五个英文选项,根据题目所述选出最能符合或者最不符合题设的一项,一点都不难但是做的很慢,以至于后来么的时间去做编程题
第四部分
8题读程序找错误并说明错误的原因,相当有挑战
第五部分
编程题及开放问题
1.逆序
char * strrev(char *s)
{
int j,k,c;
for(k=0;s[k] != 0;k++);
for(j=0,k--;j<k;j++,k--) {
c = s[j];
s[j] = s[k];
s[k] = c;
}
return s;
}
2.从一个字符串中查找另一个字符串
/*******************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2004 AT&T Corp. *
* and it may only be used by you under license from *
* AT&T Corp. ("AT&T") *
* A copy of the Source Code Agreement is available *
* at the AT&T Internet web site URL *
* *
* http://www.research.att.com/sw/license/ast-open.html *
* *
* If you have copied or used this software without agreeing *
* to the terms of the license you are infringing on *
* the license and copyright and are violating *
* AT&T's intellectual property rights. *
* *
* Information and Software Systems Research *
* AT&T Labs Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
*******************************************************************/
#pragma prototyped
#if defined(__STDPP__directive) && defined(__STDPP__hide)
__STDPP__directive pragma pp:hide strstr
#else
#define strstr ______strstr
没有评论:
发表评论