搜索资源列表
typeof
- typeof,编译时获取表达式类型运算符,是gcc编译器的一个扩展(intel编译器 也支持). 笔者最近作一个项目时需要用比较hack的手段把第三方的dll(无lib但有头文件)里面的外部函数以函数指针的方式提取出来给其他模块作全局变量用,500多个函数呀,声明函数指针可不是个轻松事,类型名字至少排满一行,写了50多个就受不了了. 找了boost的typeof,把里面的代码大幅度简化,提炼,去掉一些依赖.请使用TYPEOF宏,无任何运行时开销。 本版本利用了vc6的1个bug(子类
COpenFile
- 一个可以将text文件,翻译成为二进制的数组,是个足彩软件的配套软件,改软件可以将足彩500万上面的竞猜的14场的text格式的资料,转化为AYDATA【20000】【14】的数组,便于VC程序员对足彩的资料分析-this is a football software ,it can translate text file to double array.
AIT-500-Lab-2-document.
- Write a C++ program that computes a student s total score. Use the formula: (10 points) total_score = 15 * test1_score + 15 * test2_score + 40 * final_score + 30 * assignments Input: Test1 score, Test2 score, Final score, Assignments Outp
AIT-500-Lab-3-Document
- 1) Write a C++ program that receives a single letter and prints out the corresponding digit on the telephone. The letters and digits on a telephone are grouped this way: (30 points) 2= ABC 3 = DEF 4 = GHI 5 = JKL 6 = MNO 7 = PRS 8 = TUV 9 = WXY
