l1.1b

来自「<B>Digital的Unix操作系统VAX 4.2源码</B>」· 1B 代码 · 共 32 行

1B
32
字号
#print(Section 1.1)Now write a C program that prints two lines,the first of which says "hello" and the second"goodbye".  Don't forget those \n delimiters.Compile and test it.  When satisfied,type "ready".#once #create Refhellogoodbye#usera.out >test#cmp test Ref#succeedHere is one possible solution to compare against yours.main(){	printf("hello\n");	printf("goodbye\n");}You could also combine the two messages into onecall to printf, like	printf("hello\ngoodbye\n");but this is harder to read at a glance.#log#next1.1c 10

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?