Initial work on calculator program.
This commit is contained in:
15
calculator/main.cpp
Normal file
15
calculator/main.cpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#include <iostream>
|
||||
|
||||
#include "Recipe.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
Recipe test;
|
||||
auto ingredients = test.Ingredients();
|
||||
ingredients = test.Ingredients(2.5);
|
||||
|
||||
for(const auto &i : ingredients)
|
||||
std::cout << i.first.Name() << ", " << i.second << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user