A C-Beginner Project for Winter Code Activity

Whale Market - Winter Code

From Jiacai Cui

Email: [email protected]

1 Introduction

pic01

详细内容见:https://cui-jiacai.gitbook.io/whale-market/

pic19

2 Tutorial

2.1 功能要求总览

  • 用户功能:
    • 登陆、注册、注销
    • 买家功能
      • 查看、搜索商品
      • 购买商品
    • 卖家功能
      • 商品的发布、下架
      • 查看已发布商品
      • 修改商品信息
    • 查看历史订单(只能查看自己的订单)
    • 个人信息查看、修改
  • 管理员功能
    • 登陆、注销
    • 查看、搜索、下架商品
    • 查看所有订单
    • 查看、删除用户
  • 系统功能
    • 程序结束后再次打开程序,原本的数据不能丢失

2.2 具体功能示例

以下部分取自2021春南大程设实验课程ppt,可做基本功能的参照使用。

2.2.1 管理员功能简介

pic02

pic03

pic04

pic05

pic06

2.2.2 用户功能简介

pic07

pic08

pic09

pic10

pic11

pic12

2.2.3 数据存储示例

pic13

pic14

pic15

pic16

2.3 其他要求

pic17

2.4 阶段划分

阶段 任务
Phase1(为期7天) 设计项目,用ppt形式展示项目整体的思路和实现上的想法,并初步实现部分功能
Phase2(为期7天) 完成基本功能的实现,保证功能无错误以及程序具有一定的鲁棒性和用户友好的界面
Phase3(为期7天) 自行设计拓展功能,可以参考某宝的功能(比如与商家留言沟通,商品打分,GUI界面等等),为自己的软件设计一个用户手册。
Phase4(选做) 阅读参考代码,学习多模块项目的设计,以及一些代码设计上的巧妙之处。

为了使代码具有教学意义,我写本项目的时候覆盖到了宏定义、文件包含、函数指针、文件读写、模块通信等许多在程设基础课上一带而过的内容,还是值得一看的。

3 Reference

参考代码仓库地址:https://github.com/201220014/WhaleMarket

框架代码仓库地址:https://github.com/201220014/WhaleMarket-Framework

3.1 关于参考代码的效果

这是参考代码在命令行运行的效果:

pic18

3.2 对于参考代码的要求

在前2个阶段尽量别看,自己动手,从0开始

到最后一个阶段的时候,可以比较一下参考实现和自己的实现之间有何区别,又有何优劣之处,以及思考一下为什么我会这样设计,大抵是会有所启发的。

Similar Resources

A project uses for beginners, who wants to learn basic Cpp.

Learning Basic Cpp The basic project for who wants to learn Cpp. Notes: All the files are coded using Microsoft Visual Studio 2019. If you want to cod

Jan 28, 2022

Awesome C++ Project in GitHub

Awesome C++ Project in GitHub

Awesome C++ Project in GitHub Create a simple calculator CI Status Status Build Type windows-latest, ubuntu-latest, macos-latest armv7 + ubuntu18.04,

Apr 6, 2022

This is a training of OOP in C++, also a project for my university lesson

RealEstateAgency Back on C++ BABY :D This is a training of OOP in C++, also a project for my university lesson( Advanced programming ) As an input to

Jan 31, 2022

A project for Computer Programming (2) Course // C language

A project for  Computer Programming (2)  Course  // C language

Fun-programming-project A project for Course : Computer Programming (2) “ CS181 ” presented to Dr. Abeer Alhujaylan Team work : Feda mousa leen mohamm

Feb 4, 2022

C code that make nice posters

C code that make nice posters

ProgrammingPosters C that that make nice posters of short C programs. This generates A2 300D DPI images of programs that implement intresting graphics

Aug 9, 2022

Code profiler based on Frida

Code Profiler Based on Frida This repository contains the code to profile LIEF functions with Frida. Get Started Make sure to download the right versi

Sep 12, 2022

An Repositery with Ghost eShop Homebrew Source Code

An Repositery with Ghost eShop Homebrew Source Code

Ghost-Eshop-Alternative-3DS An Alternative eShop for Nintendo 3DS This is a clone of Universal-Updater Download Requirement -Latest version available

Aug 25, 2022

Public Code Repository of the iRotate Active SLAM for Omnidirectional robots at the Max Planck Institute for Intelligent Systems, Tübingen

Public Code Repository of the iRotate Active SLAM for Omnidirectional robots at the Max Planck Institute for Intelligent Systems, Tübingen

iRotate: Active Visual SLAM for Omnidirectional Robots This repository contains the code of iRotate, an active V-SLAM method submitted to RA-L + IROS2

Sep 19, 2022

BRL-CAD's main source code

BRL-CAD Release 7.32.4 http://brlcad.org/ BRL-CAD is a powerful cross-platform open source combinatorial solid modeling system that incl

Sep 13, 2022
Teach the C programming language using a collection of super beginner friendly tutorials and challenges.
Teach the C programming language using a collection of super beginner friendly tutorials and challenges.

TeachMeCLikeIm5 You are welcome to contribute to this repo. See the CONTRIBUTING.md for more info ?? About this repo ?? A collection of super beginner

Feb 4, 2022
Programs and my Notes from the course: "Beginning c++ Programming - From Beginner to Beyond" by Dr. Frank J. Mitropoulos

Project Info Technology Stack Linux (Arch) Visual Studio Code GCC 11.1.0 (since GCC 11.1 the default target is gnu++17, a superset of C++17) Source Ud

Oct 22, 2021
This repository consists a set of problems that a beginner can starts with.
This repository consists a set of problems that a beginner can starts with.

Beginner's Coding Sheet ?? ?? This Coding Sheet is provided by SIDDHARTH SINGH on his YouTube Channel. Here are the set of problems with its respectiv

Jan 24, 2022
A curated list of project-based tutorials in C

A list of tutorials that work towards the making of small to large projects in C.

Feb 13, 2022
A simple messenger written in C for Principal of Programming course final project
A simple messenger written in C for Principal of Programming course final project

Mohsenger A simple messenger written in C for Principal of Programming course final project Implemented by socket and sqlite3 dbms and single thread c

Sep 25, 2021
This is a C/C++ simulation project which illustrates the framing of standard ethernet protocol

This is a C/C++ simulation project which illustrates the framing of standard ethernet protocol. It creates server and client processes on the same machine and through IPC, it sends the data from the client to the server in a simplex communication.

Sep 7, 2021
My solution for the push_swap project of 42 school.
My solution for the push_swap project of 42 school.

push_swap 86/100 This is my solution for the push_swap project of 42 school. This code is capable of handeling inputs that look like "2 1 3 4 5" or 2

Jun 20, 2022
Project for C programming class building a casino that includes blackjack, slots, and scratch offs.

Casino Project for C programming class building a casino that includes blackjack, slots, and scratch offs. Project description This project will requi

Nov 4, 2021
This is a C project, to find the weekly salary of your employees.

Weekly-Salary This is a C project, to find the weekly salary of your employees. This is a very simle project. At 1st you insert the code of the employ

Dec 3, 2021
Final project for intro to programming; CSCI 1300

CarmenSandiegoGame HOW TO COMPILE AND RUN Compile: g++ -std=c++11 videoGame.cpp unity.cpp Run: ./a.out DEPENDENCIES Game.h Hacker.h Npc.h Map.h Store.

Dec 6, 2021