Hello, I found this on the GitHub repo of someone trying to re-create the original ELIZA from 1966 in C++.
It seemed interesting, so I thought I'll bring a link to it - I have successfully downloaded it and tried it and succeeded in adding to it TTS and saving conversations to a log text file :)
https://github.com/anthay/ELIZA (https://github.com/anthay/ELIZA)
p.s. - here is a Dropbox link to a Zip File Containing the Modified ELIZA in C++
https://www.dropbox.com/s/0mfcpsmq059896k/cpp.zip?dl=0 (https://www.dropbox.com/s/0mfcpsmq059896k/cpp.zip?dl=0)