Christ the King College de Maranding
Maranding, Lala, Lanao del Norte
An Objected-Oriented Programming Project
Simplified Calculator using C++
By:
Apas Marklloyd
Andrade Mary Joy
Almerol Nicole
Catadman Jerson
Flores John Rafael
Lamdagan Joshua
Quimbo Luther
Ricafort Jairah Cryzel
Samporna Al Hizham
Ivy Miel Jamero
OOP Project Adviser
Introduction
In today’s society individuals frequently struggle with performing manual
calculations, highlighting the growing reliance on technology. That’s why, the
researchers programmed a simplified calculator exemplifies this shift, highlighting the
convenience and accuracy it provides. As the demand for quick and efficient solutions
grows, the art of manual calculations, once a common skill, becomes a diminishing
practice in the face of sophisticated tools, such as the calculator we've precisely
designed.
1.1 The Calculator
According to Wyld, B. A., & Bell, D. A. (1977) the calculator is a commonplace
instrument in today's environment, serves a crucial role in simplifying and accelerating
numerical operations. Calculator is used in a wide range of industries, from fundamental
arithmetic to advanced mathematical calculations, including education, economics,
engineering, and science. Calculators have a role beyond mere convenience; they
enable precise and quick calculations, minimizing the possibility of errors and allowing
users to focus on understanding findings rather than dealing with difficult mathematics.
Calculators have become necessary in both academic and practical contexts, whether
used in school settings to promote learning or in professional settings for complex
analysis. Their compact layouts and intuitive user interfaces make them accessible to a
broad spectrum of users, considerably contributing to the democratization of
mathematical expertise and encouraging efficiency across a wide range of areas.
Calculators, which indicate the combination of mathematics and technology in our daily
lives, are crucial instruments that empower individuals and expedite numerical activities
as technological improvements continue to perfect them.
The researcher’s main goal of developing the calculator system is to design and
create a tool that efficiently performs mathematical computations, enabling users to
perform basic arithmetic to complex calculations swiftly and accurately. The idea is to
deliver a user-friendly interface that facilitates simple arithmetic enhancing the efficiency
of mathematical tasks for individuals across various disciplines, including education,
finance, and everyday life. This system aims to deliver a reliable and accessible tool
that simplifies numerical processes, ultimately empowering users to focus on problem-
solving and decision-making without the burden of manual calculations.
1.2 C++ Program Language
According Stroustrup, B. (1991, January 1) C++ is a programming language,
which evolved from the C programming language, is a diverse and powerful
programming language. It has high-level features for efficient application development
as well as low-level capabilities for system programming. C++ enables object-oriented
programming, which allows developers to structure code into classes and objects for
improved modularity and reusability. C++ is widely utilized in a variety of disciplines,
including software development, game development, and embedded systems
programming, because to its high performance and versatility. It also contains many
standard libraries and has influenced the creation of many other programming
languages. The language is frequently used to create powerful and efficient
applications, making it an important player in the field of computer programming. The
"make" function is often used to expedite the compilation process and manage
complicated projects.
1.3 Visual Studio 2022
According to (Du Preez, O. J. (2022, September 29) Visual Studio is a
comprehensive integrated development environment (IDE) developed by Microsoft,
widely recognized for its robust set of tools and features that facilitate software
development across various platforms. Originally introduced in 1997, Visual Studio has
evolved over the years to become a versatile and powerful tool for developers, that
promotes multiple programming languages which include C++, C#, Visual Basic, F#,
and more, making it a go-to choice for developers.
C++ plays a crucial part as one of the fundamental programming languages within
the vast ecosystem of Visual Studio. C++, which has its origins in the development of
system software and performance-critical applications, is smoothly integrated into Visual
Studio, providing developers with a rich environment for developing scalable, high-
performance applications. Visual Studio includes sophisticated C++ programming tools,
such as a strong debugger, advanced code navigation, and a feature-rich editor that
boosts productivity. The combination of Visual Studio with C++ enable developers to
swiftly develop efficient, cross-platform applications, making it an effective option for a
wide range of software development projects.
Objectives
Significance of the Project
This project would be beneficial to the following:
Students. This project will be beneficial mainly to the students.. because they will know
how to create a calculator program using Visual studio and C++. In this project the
students will know about the calculator program project. This project would also be
Beneficial to students who would like to create a calculator program. They can easily
learn the procedures and programming language that was been used to create the
program. This project would be beneficial to the aspiring computer science students
because they can get some information that might needed in their project and some of
their question may possibly be answered by this study.
Scope and Limitations``
This project encompasses the development and evaluation of a calculator
program designed to perform basic arithmetic operations, including addition,
subtraction, multiplication, and division. The program aims to provide a user-friendly
interface with clear input and output functionalities. It will be designed to cater to a
diverse user base, including students, professionals, and individuals from various fields
who require a reliable and efficient tool for quick mathematical calculations.
Despite its functionality, the calculator program has certain limitations. Firstly, it
will focus primarily on elementary arithmetic operations, and complex mathematical
functions or symbolic computations will not be within the program's scope. Additionally,
the study acknowledges that the user interface design may vary in terms of compatibility
with different operating systems and screen resolutions. The program's accuracy will be
subject to the limitations of floating-point arithmetic and may not account for extremely
large or small numbers. Furthermore, the project does not address potential security
concerns related to user data input. Lastly, the evaluation of the program's performance
will be based on simulated scenarios, and real-world usage patterns may introduce
variables not considered in this project.
Interface
The GUI of the System
The code of the Program using C++