Starting point for the exercise in the IoT workshop

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers main.cpp Source File

main.cpp

00001 #include "main.h"
00002 /*
00003  * Auxiliary functions
00004  */
00005  
00006 string readline_questions(){
00007     size_t pos = questions.find("!"); 
00008     string buffer = questions.substr(0, pos);
00009     read_questions += buffer;
00010     questions = questions.substr(pos+1);
00011     
00012     return buffer.substr(0, buffer.length()-1);
00013 }
00014 
00015 /*
00016  * Main function
00017  */
00018 
00019 int main()
00020 {
00021 
00022 }