Marco Zecchini
/
Exercise_workshop
Starting point for the exercise in the IoT workshop
Diff: main.cpp
- Revision:
- 0:66a70b507959
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/main.cpp Tue Feb 26 19:07:40 2019 +0000 @@ -0,0 +1,22 @@ +#include "main.h" +/* + * Auxiliary functions + */ + +string readline_questions(){ + size_t pos = questions.find("!"); + string buffer = questions.substr(0, pos); + read_questions += buffer; + questions = questions.substr(pos+1); + + return buffer.substr(0, buffer.length()-1); +} + +/* + * Main function + */ + +int main() +{ + +}