📄 l11.2a
字号:
#printWith your 'cc' command you can give the name ofan object file to be loaded with your program.For example cc x.c y.owill load the previously compiled program 'y' along withthe program 'x' to be compiled now.There is a file in this directory named "getnum.o"that contains a subroutine "getnum" that will read digitsfrom the standard input, convert them to binary, andreturn an integer value.Write a program which reads an integer and printsit back in octal. Compile and test as usual.#once #create Ref254#once cp %s/getnum.o .#usera.out <Ref >testgrep 376 test >/dev/null#succeed/* One way: */main() { printf("%o\n", getnum());}#log#next11.1a 10
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -