_asm 与 __asm 有何区别?
问题点数:10、回复次数:3Top
1 楼oldfarmer(老弯弯)回复于 2001-02-09 12:04:00 得分 5
它们没有区别,主要是为了兼容性。看看下面的话(MSDN):
If used without braces, the __asm keyword means that the rest of the line is an assembly-language statement. If used with braces, it means that each line between the braces is an assembly-language statement. For compatibility with previous versions, _asm is a synonym for __asm.
Top
2 楼zhoutler(一代程序巨浆--用浆糊粘贴别人代码巨厉害)回复于 2001-02-10 23:52:00 得分 5
很多C++保留字为了与C兼容采用双下划线,你也可以采用单下划线的C保留字,不过双下划线C++保留字提供更好的编译性能
Top
3 楼ZencengLiu(Liu)回复于 2001-02-11 00:15:00 得分 0
zhoutler(吉井玉)说的是 !Top




