1改错题
2、3题写程序的输出结果
这是第2题:
以下三条输出语句分别输出什么?
char str1[] = “abc”;
char str2[] = “abc”;
const char str3[] = “abc”;
const char str4[] = “abc”;
const char* str5 = “abc”;
const char* str6 = “abc”;
cout << boolalpha << ( str1==str2 ) << endl; // 输出什么?
cout << boolalpha << ( str3==str4 ) << endl; // 输出什么?
cout << boolalpha << ( str5==str6 ) << endl; // 输出什么?
第3题是类与子类的输出结果,忘记了
4:DLL两种加载方式,显式加载和隐式,问.exe文件用隐式加载使用DLL时,DLL文件放在哪里?
5:MFC文档类视图的结构及主要作用?
6:头文件ifdef/define/endif的作用?
7:#include与@include”filename.h”的区别?
8:写内存拷贝函数 原型给出 void*mymemcpy(void*dest,void*src,int count)
9:给出今天2006年8月31日是周四,要求把今年所有的周三的日子找出来,编程实现
10:编程实现sum(n)=1!-2!+3!-4!+……+n!
11:n个人围成一圈,从一开始报数,报道3的出队,最后剩谁?用数据结构实现
12:忘了。
13:智力测试
14:英文翻译