Skip to content
Snippets Groups Projects
Commit 135fa8ed authored by bartvbl's avatar bartvbl
Browse files

Added handout for lecture 8

parent 84f188dc
No related branches found
No related tags found
No related merge requests found
#include <iostream>
int main() {
std::string todoList = "buy soap\nbuy rice\ndo laundry\naccidentally publish exam on blackboard\ninvent mind control device\nprepare world domination victory speech\ncall mom\n";
std::string input;
while(true) {
std::cout << "? ";
getline(std::cin, input);
if(input == "quit") {
break;
}
todoList += input + '\n';
std::cout << "--- TODO list ---" << std::endl;
std::cout << todoList << std::endl;
}
return 0;
}
\ No newline at end of file
#include <string>
#include <iostream>
#include <AnimationWindow.h>
int main() {
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment