Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: main.cpp
- Revision:
- 0:66a70b507959
- Child:
- 2:293f6bc54643
--- /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() +{ + +}