Initial Course
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
#include "switch_statements.hpp"
|
||||
|
||||
namespace control_flow {
|
||||
|
||||
auto parse_operation(char op) -> Operation {
|
||||
(void)op;
|
||||
return Operation::Unknown;
|
||||
}
|
||||
|
||||
auto apply_operation(Operation op, int lhs, int rhs) -> int {
|
||||
(void)op; (void)lhs; (void)rhs;
|
||||
return 0;
|
||||
}
|
||||
|
||||
auto day_name(int day) -> std::string {
|
||||
// TODO: 1=Monday ... 7=Sunday, else "Invalid"
|
||||
(void)day;
|
||||
return "Invalid";
|
||||
}
|
||||
|
||||
} // namespace control_flow
|
||||
Reference in New Issue
Block a user