正在加载图片...
复习:一个典型程序的转换处理过程 经典的“ helllo. c”源程序 helllo.c的ASC文本表示 #include <stdio.h> #i n cu d e s t di o int maino 3510511099108117100101326011511610010511146 h >\n \n i n t <sp> m a i n()\n 1046210101051101163210997105110404110123 printf("hello, world\n")E in <sp> <sp> <sp> <sp> pr in tf("he 10323232321121141051101161024034104101108 r d v );\n} 10811144321191111141081009211034415910125 intf hello. c pre hello,i compiler hello. s assembler hello. o linkerhello processor cc1 as (cpp) (1d) source modified assen nby relocatable execu program source program object obiect progra (text) programs program (text (binary)复习:一个典型程序的转换处理过程 #include <stdio.h> int main() { printf("hello, world\n"); } 经典的“ hello.c ”源程序 # i n c l u d e < s p > < s t d i o . 35 105 110 99 108 117 100 101 32 60 115 116 100 105 111 46 h > \ n \ n i n t < s p > m a i n ( ) \ n { 104 62 10 10 105 110 116 32 109 97 105 110 40 41 10 123 \n <s p> <s p> < sp> <s p> p r i n t f ( " h e l 10 32 32 32 32 112 114 105 110 116 102 40 34 104 101 108 l o , < s p > w o r l d \ n " ) ; \ n } 108 111 44 32 119 111 114 108 100 92 110 34 41 59 10 125 hello.c的ASCII文本表示
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有