Skip to content

Advanced calculator - #914

Closed
Bartekr100 wants to merge 6 commits into
coders-school:advanced-calculatorfrom
Bartekr100:advanced-calculator
Closed

Advanced calculator#914
Bartekr100 wants to merge 6 commits into
coders-school:advanced-calculatorfrom
Bartekr100:advanced-calculator

Conversation

@Bartekr100

Copy link
Copy Markdown

No description provided.

Implement getNumber and ErrorCode enum. Start building process function to extract numbers and operators. Include temporary debug tests in main.cpp.
Implement lambdas for calculations and initialize unordered_map to call a specific function based on char.
Check for division by zero, root of a negative number, modulo of a non-integer value, and extra data after factorial.
Adjust minus sign handling for factorial and add a check for unexpected trailing characters after the second number.
Add a continuous loop to enter formulas and get results or error feedback. Include the opportunity to exit by typing 'q' or 'exit'.
@ziobron

ziobron commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

✅ CI Passed - Task: formatting_check
🏅 Granted 1 XP for @Bartekr100

@ziobron

ziobron commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

✅ CI Passed - Task: advanced-calculator
🏅 Granted 25 XP for @Bartekr100

@ziobron

ziobron commented Aug 29, 2026

Copy link
Copy Markdown
Contributor

✅ CI Passed - Task: formatting_check
🏅 Granted 1 XP for @Bartekr100

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants