Newline was added in the wrong place, in a previous commit
This commit is contained in:
@@ -8,11 +8,11 @@ int main()
|
|||||||
{
|
{
|
||||||
std::unique_ptr<BaseCalculator> calc = std::make_unique<SpecialCalculator>();
|
std::unique_ptr<BaseCalculator> calc = std::make_unique<SpecialCalculator>();
|
||||||
|
|
||||||
std::cout << "Initializing calculator";
|
std::cout << "Initializing calculator\n";
|
||||||
|
|
||||||
while (true)
|
while (true)
|
||||||
{
|
{
|
||||||
std::cout << "What's your next input? (+,-,*,/,%,$,q,p)" << std::endl;
|
std::cout << "What's your next input? (+,-,*,/,%,$,q,p): ";
|
||||||
auto command = resolveCommand();
|
auto command = resolveCommand();
|
||||||
|
|
||||||
if (command.shouldTerminate())
|
if (command.shouldTerminate())
|
||||||
|
|||||||
Reference in New Issue
Block a user