官术网_书友最值得收藏!

Exercises

  1. Find and visit the documentation page of the log package.
  2. Use strace(1) to examine hw.go from the previous chapter.
  3. If you are on a Mac, try to examine the hw.go executable using dtruss(1).
  4. Write a program that gets input from the user and examine its executable file using either strace(1) or dtruss(1).
  1. Visit the website of Rust at https://www.rust-lang.org/.
  2. Visit the website of Swift at https://swift.org/.
  3. Visit the documentation page of the io package at https://golang.org/pkg/io/.
  4. Use the diff(1) command-line utility on your own in order to learn how to interpret its output better.
  5. Visit and read the main page of write(2).
  6. Visit the main page of grep(1).
  7. Play with reflection on your own by examining your own structures.
  8. Write an improved version of occurrences.go that will only display frequencies that are above a known numeric threshold, which will be given as a command-line argument.
主站蜘蛛池模板: 堆龙德庆县| 高青县| 新乐市| 阿拉善右旗| 黑水县| 开封市| 额济纳旗| 建阳市| 洛川县| 晋城| 观塘区| 韶关市| 陇西县| 乐安县| 南江县| 姚安县| 澄城县| 乐清市| 嵊州市| 鹿邑县| 龙门县| 德江县| 毕节市| 临沧市| 库伦旗| 龙岩市| 中超| 读书| 贵南县| 铜川市| 竹溪县| 泽州县| 江油市| 新乡县| 漳州市| 和林格尔县| 呼伦贝尔市| 肃南| 麻江县| 九龙县| 延安市|