关闭

C++ Online Shop Program

该项目收到17 来自天才威客的竞标,平均竞标价格为$45 AUD

为像这样的项目获取免费报价
雇主工作
项目预算
$30 - $40 AUD
全部竞标
17
项目描述

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]

需要技能

在寻找赚取金钱的机会?

  • 设定您的预算和时间框架
  • 大致描述您的建议方案
  • 为您的工作领取工资

雇用同样在该项目上竞标的威客

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