Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Implement bc command in C language

bc is An arbitrary precision calculator

What I have tried:

I tried by taking ADT as number.
Posted
Updated 3-Nov-20 20:19pm
v3
Comments
Rick York 3-Nov-20 11:40am    
That is what your assignment is asking you to figure out.

Read https://linux.die.net/man/1/bc[^] for more details
 
Share this answer
 
That is a rather difficult task. Depending on your level of expertise you may try to find the appropriate resources (e.g. tutorials, reference material, CodeProject articles, ...) on both expression parsing in C and arbitrary precision arithmetic.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900