One of my friends was making a project requiring espeak. He was using speak_lib.h and wanted help on using it , so here is a simple c/c++ program i wrote:
DEPENDENCIES:
portaudio-devel espeak-devel
USAGE:
(Assuming speak_lib.h in your current dir)
(Replace g++ by gcc and .cpp with .c for compiling as c )
g++ -g -I. Speak.cpp -lportaudio -lespeak -o Speak./Speak