C++ Threads
Need help with program that reads lines from .txt files anddisplays a sentence from the file every 5 seconds. The only way tostop the program is to hit control-c or kill the window. We wouldlike it so if we press a key and enter, to make the program stop.Need to run the Witty class in a thread. This means moving orcalling the showOneLiners() function in an operator()() function,then modify main so it runs the class in a thread. A pointer to thestop variable is sent to the thread object in the constructor. Whenthe stop variable is set, the showOneLiners
PayPal Gateway not configured
PayPal Gateway not configured