You are browsing as a guest. Sign up (or log in) to start making projects!

CalcX

  • 1 Devlogs
  • 2 Total hours

A Qalc-like calculator written in modern C++

Open comments for this post

2h 3m 16s logged

Learning Shunting yard algorithms

I am making a calculator like CalcX and for that i need to find a way to teach computer PEDMAS

we think of
4 + 18/(9-3)
as
4 + 18 / 6
4 + 3
7

But how will a computer decided it??

Thats where the Shunting yard Algorithm comes.. it utilises stack and queue.. that soo lit

Qalc : MY inspiration

0
0
15

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…