The way the program is writen, if you type
$ generateit sends its output (the 100x100 array) to the terminal, which is not very useful. The ">" in
$ generate > test1.dataredirects the output of the program "generate" to the ascii file "test1.dat". You can have a look at the file with any text editor.