Newline was added in the wrong place, in a previous commit
This commit is contained in:
1 parent
1ef2665418
commit
93da1771f4
1 file changed
+2
-2
@@ -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