Closed

C++ Online Shop Program

This project received 17 bids from talented freelancers with an average bid price of $45 AUD.

Get free quotes for a project like this
Employer working
Project Budget
$30 - $40 AUD
Total Bids
17
Project Description

PROJECT DETAILS

Create a c++ Program for an online shop, this shop will include

*Online shop

*Products

*Orders

*Invoices

A customer logs in, selects products and adds

them to his/her order. When the shopping is complete an invoice with unique invoice

number is generated for the order. There are 10 products in this simple example and

they should be stored in an array. Products can be added and deleted from an order.

Only one customer at a time need be considered.

Below are suggested UML type diagrams representing the object types (classes):

Order

-customer

-country string

-productList[]

-numProducts int

+createOrder(Customer)

+add(product)

+search(string)

+delete(string)

+display()

Customer

-name string

-address string

+createCust(string, string)

+Customer(string, string)

+getName()

Product

-name string

-model string

-price float

+readRecord(ifstream&)

+createProduct(string, string, float)

+getPrice()

+displayDetails()

+getName()

Web_shop

-customer

-products[]

-invoiceNumber int

-order

+Web_shop()

+readProducts()

+login()

+runShop()

+generateInvoice()

The file needs to be called [url removed, login to view]

this is the information that must be contained in the file:

Chainsaw CS001 [url removed, login to view]

Bowie_knife BK001 [url removed, login to view]

Samurai_sword SS001 [url removed, login to view]

Axe AX001 [url removed, login to view]

Colt_45 CO001 [url removed, login to view]

Magnum_357 MG001 [url removed, login to view]

Shotgun SG001 [url removed, login to view]

UZZI UZ001 [url removed, login to view]

Machete MT001 [url removed, login to view]

Sniper_rifle SR001 [url removed, login to view]

Skills Required

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online