data: added python sample project

This commit is contained in:
mlangkabel
2019-05-07 15:51:37 +02:00
parent abda525b84
commit 76cb4e0dc9
22 changed files with 383 additions and 21 deletions
@@ -0,0 +1,23 @@
#include "io.h"
#include <iostream>
#include <sstream>
#include <string>
int io::numberIn() {
std::string input;
getline( std::cin, input );
std::stringstream stream( input );
int number;
stream >> number;
return number;
}
void io::numberOut(int num) {
std::cout << num;
}
void io::stringOut(const char* str) {
std::cout << str;
}