8000 GitHub - boothr16/formula-reader: Program that parses chemical formulas by element
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

boothr16/formula-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

formula-reader

Program that parses chemical formulas by element

This chemical formula reader was developed for use by high school chemistry students. The program requires the files AtomCounter.cpp, Element.h, and Element.cpp to run. In order for the program to execute successfully, the student needs to type in a chemical formula that has correct "syntax." This reinforces good formula writing habits. This program will handle any chemical formula in which the subscripts do not exceed 10. The program also works on formulas containing parentheses!

Sometime in the near future, this program will also serve to balance chemical equations.

TODO

  1. Refactor parseFormula() in AtomCounter.cpp for readability/modularity.

About

Program that parses chemical formulas by element

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0