gopl_book/

directory
v0.0.0-...-fa54de9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2022 License: MIT

Directories

Path Synopsis
ch1
dup1
dup programs reads the lines entered in the standard input and prints the text of the lines that appear more than once preceded by their count
dup programs reads the lines entered in the standard input and prints the text of the lines that appear more than once preceded by their count
dup2
dup2 prints the count and text of lines that appear more than once in the input.
dup2 prints the count and text of lines that appear more than once in the input.
dup3
The previous 2 versions of dup operate in a streaming mode in which input is read and broken into lines as needed, so in principle those programs can handle an arbitrary number of input.
The previous 2 versions of dup operate in a streaming mode in which input is read and broken into lines as needed, so in principle those programs can handle an arbitrary number of input.
echo1
echo program prints on the console its command line arguments like the Unix echo command
echo program prints on the console its command line arguments like the Unix echo command
echo2
This program illustrates a different variant of echo program
This program illustrates a different variant of echo program
echo3
echo program using String Join function
echo program using String Join function
exercise
Modify the echo program to print the index and value of each of its arguments, one per line
Modify the echo program to print the index and value of each of its arguments, one per line

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL