摘要:
13.3 How do virtual functions work in C++?这道题问我们虚函数在C++中的工作原理。虚函数的工作机制主要依赖于虚表格vtable,即Virtual Table。当类中定义了虚函数时,一个虚表格就建立了用来保存该类的虚函数的地址。此时编译器Compiler也会在... 阅读全文
posted @ 2015-10-30 06:58
Grandyang
阅读(637)
评论(0)
推荐(0)
摘要:
13.2 Compare and contrast a hash table and an STL map. How is a hash table implemented? If the number of inputs is small, which data structure options... 阅读全文
posted @ 2015-10-30 05:20
Grandyang
阅读(629)
评论(0)
推荐(0)

浙公网安备 33010602011771号