diff --git a/Lab04/code/part01-analyze/main.go b/Lab04/code/part01-analyze/main.go index 6becc39..9e590d2 100644 --- a/Lab04/code/part01-analyze/main.go +++ b/Lab04/code/part01-analyze/main.go @@ -112,7 +112,8 @@ func plotResult() { func main() { initLetterStruct() - totalCount := countLetters(readFile("plaintext.txt")) + //totalCount := countLetters(readFile("plaintext.txt")) + totalCount := countLetters(readFile("../part01-encrypt/output.txt")) calculateFrequency(totalCount) plotResult() sort.Sort(letterList(letters))