shoping mall in c++
January 15, 2017 | Author: prashantrahul | Category: N/A
Short Description
Download shoping mall in c++...
Description
TERM PAPER OBJECT ORIENTED PROGRAMMING CSE202
TOPIC:SHOPING MALL
Submitted to: ROHIT BENIWL Dept. Of computer science
submitted by: PRASHANT KUMAR RE6911A03 10905632
ACKNOWLEDGEMENT
I take this opportunity to present my votes of thanks to all those guidepost who really acted as lightening pillars to enlighten our way throughout this project that has led to successful and satisfactory completion of this study. We are really grateful to our HOD for providing us with an opportunity to undertake this project in this university and providing us with all the facilities. We are highly thankful to ROHIT BENIWAL for her active support, valuable time and advice, whole-hearted guidance, sincere cooperation and pains-taking involvement during the study and in completing the assignment of preparing the said project within the time stipulated. Lastly, We are thankful to all those, particularly the various friends , who have been instrumental in creating proper, healthy and conductive environment and including new and fresh innovative ideas for us during the project, their help, it would have been extremely difficult for us to prepare the project in a time bound framework.
INTRODUCTION: C++: C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as a "middle-level" language, as it comprises a combination of both high-level and low-level language features. It was developed by Bjarne Stroustrup starting in 1979 at Bell Labs as an enhancement to the C language and originally named C with Classes. It was renamed C++ in 1983. As one of the most popular programming languages ever created, C++ is widely used in the software industry. Some of its application domains include systems software, application software, device drivers, embedded software, high-performance server and client applications, and entertainment software such as video games. Several groups provide both free and proprietary C++ compiler software, including the GNU Project, Microsoft, Intel and Borland. C++ has greatly influenced many other popular programming languages, most notably C# and Java. C++ is also used for hardware design, where design is initially described in C++, then analyzed, architecturally constrained, and scheduled to create a register transfer level hardware description language via high-level synthesis. The language began as enhancements to C, first adding classes, then virtual functions, operator overloading, multiple inheritance, templates, and exception handling among other features. After years of development, the C++ programming language standard was ratified in 1998 asISO/IEC 14882:1998. That standard is still current, but is amended by the 2003 technical corrigendum, ISO/IEC 14882:2003. The next standard version is in development.
SHOPING MALL: A shopping mall, shopping centre or shopping precinct is one or more buildings forming a complex of shops representing merchandisers, with interconnecting walkways enabling visitors to easily walk from unit to unit, along with a parking area – a modern, indoor version of the traditional marketplace. Modern "car-friendly" strip malls developed from the 1920s, and shopping malls corresponded with the rise of suburban living in many parts of the Western World, especially the United States, after World War II. From early on, the design tended to be inward-facing, with malls following theories of how customers could best be enticed in a controlled environment. Similar, the concept of a mall having one or more "anchor" or "big box" stores was pioneered early, with individual stores or smaller-scale chain stores intended to benefit from the shoppers attracted by the big stores.
SOURCE CODE //********************************************************** // PROJECT SHOPPING MALL //********************************************************** //********************************************************** // INCLUDED HEADER FILES //********************************************************** #include #include #include #include #include #include #include #include #include //********************************************************** // THIS CLASS CONTROL ALL THE FUNCTIONS IN THE MENU //********************************************************** class MENU { public : void main_menu(void) ; void introduction(void) ; private : void edit_menu(void) ; void edit_item(void) ; void edit_shop(void) ; }; //********************************************************** // THIS CLASS CONTAINS FUNCTIONS RELATED TO BOOKS //********************************************************** class ITEM { public : void list(void) ; char *itemname(int) ; protected : void add_new_item(int, char tname[33], char tbrand[26], float) ; void deletion(void) ; int item_found(int) ; int itemname_found(char []) ; int recordno(int) ; char *brandname(int) ; float itemprice(int) ; int itemcodeof(char[]) ; void display(int) ;
int reccount(void) ; void delete_rec(int) ; private : int itemcode ; char name[33], brand[26] ; float price ; }; //********************************************************** // THIS CLASS CONTAINS FUNCTIONS RELATED TO MEMBERS //********************************************************** class SHOP { public : void list(void) ; protected : void add_shop(int, int, char [], char [], char[]) ; int shop_found(int) ; char *shopname(int) ; char *shopphone(int) ; char *shopaddress(int) ; int recordno(int) ; void display(int) ; void delete_rec(int) ; private : int shopcode, itemcode ; char name[26], phone[10], address[33] ; }; //********************************************************** // THIS IS DERIVED FROM CLASS BOOK & MEMBER AND CONTAINS // FUNCTIONS FOR WORKING //********************************************************** class WORKING : public ITEM, public SHOP { public : void add_item(void) ; void add_shop(void) ; void delete_item(void) ; void delete_shop(void) ; }; //********************************************************** // FUNCTION TO DISPLAY MAIN MENU & CONTROL ALL THE FUNCTION // IN THE MAIN MENU. //********************************************************** void MENU :: main_menu(void) { char ch ; while (1) { clrscr() ; gotoxy(29,6) ; cout
View more...
Comments