Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
C/C++ 上下文中的符号表和分支/跳转/虚拟方法表有什么区别?因为两者都保留了库/可执行模块中例程的引用。两者的主要区别是什么?
符号表是编译器的一个模块,虚方法表是实现虚函数的一种方式。我宁愿解释他们的共同点,除了他们名字中的单词表(简短回答没有),而不是他们的不同之处。首先,它们不是同时存在的,它们服务于不同的目的,它们包含不同的信息。