搜索资源列表
typeof
- typeof,编译时获取表达式类型运算符,是gcc编译器的一个扩展(intel编译器 也支持). 笔者最近作一个项目时需要用比较hack的手段把第三方的dll(无lib但有头文件)里面的外部函数以函数指针的方式提取出来给其他模块作全局变量用,500多个函数呀,声明函数指针可不是个轻松事,类型名字至少排满一行,写了50多个就受不了了. 找了boost的typeof,把里面的代码大幅度简化,提炼,去掉一些依赖.请使用TYPEOF宏,无任何运行时开销。 本版本利用了vc6的1个bug(子类
binary-tree-in-templates
- so i want to make a code, that creates a binary tree, that holds data, for example ints like 1,6,2,10,8 and on pop i get the biggest number, and after that it gets deleted from the tree, and on push i can insert a new element. And this should be in a
Shared-Memory
- This a program in c language to shared memory is a program for a class that i was have enyoit-This is a program in c language to shared memory is a program for a class that i was have enyoit
assembler
- 该程序使用了I/O流对存有汇编语言文本进行读入以及对操作结果的文本输出;运用了数据结构的栈结构,简化了文本内容的识别;将文本中的一行封装成类对象hang;将系统的一些操作指令通过哈希结构封装在symtab类中;将文本获得的操作指令封装在optab中;自己还另外编写了十进制转十六进制,int类型和对应的字符串进行互转的方法供程序使用。-The program uses the I/O stream of assembly language there and read the text on th
