13-05-2013, 03:19 PM
INVENTORY OF A CLOTHES SHOP USING FILE HANDLING IN C++
INVENTORY OF A CLOTHES.doc (Size: 97.5 KB / Downloads: 67)
INTRODUCTION: ABOUT
The project is an amalgamation of different operations that can be performed during maintaininance of inventory of a Clothing Shop, Inventory is defined as all the records for the stock in terms of their value and quantity for future use. There is a constant need in the industry to maintain an inventory of the articles manufactured in an organization. Inventory management is a very simple concept - don't have too much stock and don't have too little. Since there can be substantial costs involved in straying above and below the optimal range, careful inventory management can make a huge difference in the profitability of a business. Although the concept is simple, the process of getting the right balance can be quite a complex and time consuming task without the right technology. There are two fundamental questions that must be answered, in order to manage the inventory of any physical item - when to order and how much to order. Inventory management is primarily about specifying the shape and percentage of stocked goods. It is required at different locations within a facility or within many locations of a supply network to proceed the regular and planned course of production and stock of materials.
The scope of inventory management concerns the fine lines between replenishment lead time, carrying costs of inventory, asset management, inventory forecasting, inventory valuation, inventory visibility, future inventory price forecasting, physical inventory, available physical space for inventory, quality management, replenishment, returns and defective goods and demand forecasting.Balancing these competing requirements leads to optimal inventory levels, which is an on-going process as the business needs shift and react to the wider environment.Inventory management involves a retailer seeking to acquire and maintain a proper merchandise assortment while ordering, shipping, handling, and related costs are kept in check. It also involves systems and processes that identify inventory requirements, set targets, provide replenishment techniques, report actual and projected inventory status and handles all functions related to the tracking and management of material.
WHY C++
The project has been made in C++.Even though other database handling languages have come into
picture which seem to have a better control on various operations that are performed on a database. For eg. MySQL, SQL, XML. Different types of data like of picture format and as well as text can be handled using XML parsing and linking it to other support languages like Actionscript. Though C++ still guards its significance as a conventional system Language. C++ is a statically typed, free-form, multi-paradigm, compiled, general-purpose programming language. It is regarded as an intermediate-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. C++ is one of the most popular programming languages and 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 Embarcadero Technologies. C++ has greatly influenced many other popular programming languages, most notably C# and Java. C++ is also used for hardware design, where the 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.
FILE HANDLING
The Project conquers all aspects of inventory control of merchandize. The program utilises
file handling. More specifically, binary file handling. File handling using binary files has an advantage of requiring no transformation into the computer binary form.i.e it does not treat each character separately in a datatype but considers the datatype as one block and allocates the required bytes which otherwise would have allocated a single byte character-wise leading to huge memory wastage. A binary file is no different to a text file. It is a collection of bytes. In C Programming Language a byte and a character are equivalent. Hence a binary file is also referred to as a character stream, but there are two essential differences.
1. No special processing of the data occurs and each byte of data is transferred to or from the disk unprocessed.
2. C Programming Language places no constructs on the file, and it may be read from, or written to, in any manner chosen by the programmer.
Binary files can be either processed sequentially or, depending on the needs of the application, they can be processed using random access techniques. In C Programming Language, processing a file using random access techniques involves moving the current file position to an appropriate place in the file before reading or writing data. This indicates a second characteristic of binary files.
They a generally processed using read and write operations simultaneously.
For example, a database file will be created and processed as a binary file. A record update operation will involve locating the appropriate record, reading the record into memory, modifying it in some way, and finally writing the record back to disk at its appropriate location in the file. These kinds of operations are common to many binary files, but are rarely found in applications that process text files.