Fishing Store Coding
Fishing Store Coding
Faculty of Engineering
Petroleum and Mining Engineering
Department
Fish shop
This scientific report is submitted in fulfillment of the
requirements for final assessment
Prepared By:
2019-2020
1
Declaration
I hereby declare that I completed this work without any improper help from a third party and
without using any aids other than those cited. All ideas derived directly or indirectly from other
sources are identified as such.
I did not seek the help of a professional consultant. This work has not previously been submitted
to another examination authority in the same or similar form in Kurdistan Region of Iraq, in Iraq
or abroad.
2
1- Introduction
We all know that shopping at grocery stores requires us to go to mall or food areas in buying
food especially seafood is pretty expensive. The fish shop online is a very unique idea and isn’t
like any other typical online orders. Now we live in the age of internet and buying things can
now be done by clicking a mouse. Our site provides you the times you need to order your
faviorite seafood or even fish. Because of the numerous benefits of shopping online from us the
bigger our customers are becoming. We had mentioned almost all types of healthy fishes and the
nontoxic or dangerous ones.
1-1 scope
this report will be show you how to purchase the fish you want from our site, and help you
understand in details
1-2 purpose
The whole purpose of my menu is make a system that will make ordering easier for my
customers. To give them a lot of options from picking what time they want their order to be
received to how well they want it to be cooked. Making it easier for customers to talk to us
without really putting the effort, it’s a click on the site only.
3
2- scientific description and detail
first I had to download VsualStudio and use the program C++, and I had to make sure about the
cpp being there. C++ source files generally have the .cpp. for the first line I used within the
system was #include <iostream> this was used for my header, headers can be chosen multiple
times within the procedure. Header files aren’t passed to the compiler. Instead, they are included
from source files. To begin writing down my options that I want to provide for my customer I
had to start with the next line which was
int main() {
after writing this and opening the bracket, I started with a new line,
cout << "we are very glad to have you in our fishing shop" << endl;
The next line '// main() is where program execution begins.' is a single-line comment available in
C++. Single-line comments begin with // and stop at the end of the line. and this was as an
introduction before counting the various types of fishes. We can see that I compile a larger file
than the simple source file that you see. This is because of the included headers. And in our
example, i have included just one header. The translation unit becomes bigger and bigger as we
keep including headers. the semicolon is a statement terminator. That is, each individual
statement must be ended with a semicolon. It indicates the end of one logical entity. Whitespace
is the term used in C++ to describe blanks, tabs, newline characters and comments. Whitespace
separates one part of a statement from another and enables the compiler to identify where one
element in a statement, such as int, ends and the next element begins.
For counting products, I used cout << "there are multiple kinds of fishes you would love to
try:\n";
and within each new type is a new line started. This statement has three parts: First, std::cout,
which identifies the standard character output device (usually, this is the computer screen).
Second, the insertion operator (<<), which indicates that what follows is inserted into std::cout.
Finally, a sentence within quotes ("fishing shop’) is the content inserted into the standard output.
4
Notice that the statement ends with a semicolon (;). This character marks the end of the
statement, just as the period ends a sentence in English. All C++ statements must end with a
semicolon character. One of the most common syntax errors in C++ is forgetting to end a
statement with a semicolon. cout being used instead of std::cout. Both name the same object: the
first one uses its unqualified name (cout), while the second qualifies it directly within the
namespace std (as std::cout). cout is part of the standard library, and all the elements in the
standard C++ library are declared within what is called a namespace: the namespace std. In order
to refer to the elements in the std namespace a program shall either qualify each and every use of
elements of the library (as we have done by prefixing cout with std::), or introduce visibility of
its components. The most typical way to introduce visibility of these components is by means of
using declarations.
5
3- methods
Iused the laptop for using visual studio. The online videos and followed my lecturers steps. The
next day I tried doing it. Also many videos online because the websites weren’t as useful for
explaining.
6
4- discussion
this report mentioned the codes and how to explain them to make a whole site to make for my
customers. This will make it easier and more comfortable for customers to take their time with
choosing the kind of fish they want
7
conclusion
in conclusion, this report included the most important infotmations only not any reptitve
ones. How to start and where to end your system. The following codes I had used the most
andf were the key to making my system were
#include <string>
int main()
return 0;
string ;
int ;
8
Refernces
https://gradesfixer.com/free-essay-examples/advantages-of-online-shopping/
https://www.freeprojectz.com/c-projects-projects/c-project-shopping-cart-system
https://code.visualstudio.com/docs/languages/cpp