GithubHelp home page GithubHelp logo

学生管理系统

这是一个简单的学生管理系统,使用C++进行基础的CRUD(创建、读取、更新、删除)操作。该系统可以添加、删除、修改和查询学生信息。

功能

    添加学生:输入学生ID、姓名和年龄,将学生信息添加到系统中。
    删除学生:通过学生ID删除学生信息。
    修改学生信息:通过学生ID修改其姓名和年龄。
    查询学生信息:通过学生ID查询其详细信息。

开始

结构如下

StudentSupervisor/
|-- bin/                    # 可执行文件存放目录
|-- include/                # 头文件存放目录
|   |-- student.h           # 学生类的定义
|-- src/                    # 源代码文件存放目录
|   |-- student.cpp         # 学生类的实现
|   |-- main.cpp            # 程序入口和界面逻辑
|-- Makefile                # 用于编译项目的Makefile

以下指南将帮助您在本地机器上安装和运行此项目,用于开发和测试目的。

先决条件

确保您的计算机上已安装以下软件:

    GCC/G++ 编译器
    Make

安装

克隆仓库到本地机器:

git clone https://github.com/0YJ/StudentSupervisor.git
cd StudentSupervisor

编译项目:

g++ -o app main.cpp student.cpp -lsqlite3
或
make

运行程序:

./bin/app

使用说明

该程序将通过命令行界面接受输入,您可以根据提示进行学生信息的添加、修改和查询。

示例

添加学生:
Add Student: Enter ID, Name, Age
查询学生:
    Query Student: Enter ID

贡献

欢迎贡献!请遵循以下步骤进行贡献:

    Fork 仓库
    创建您的功能分支 (git checkout -b feature/fooBar)
    提交您的更改 (git commit -am 'Add some fooBar')
    推送到分支 (git push origin feature/fooBar)
    创建新的Pull Request

许可证

该项目遵循MIT许可证。

YJ's Projects

fastapi-react icon fastapi-react

🚀 Cookiecutter Template for FastAPI + React Projects. Using PostgreSQL, SQLAlchemy, and Docker

fastqc icon fastqc

A quality control analysis tool for high throughput sequencing data

full-stack-fastapi-template icon full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.

galaxy icon galaxy

Data intensive science for everyone.

gitignore icon gitignore

A collection of useful .gitignore templates

googlefonts icon googlefonts

Font files available from Google Fonts, and a public issue tracker for all things Google Fonts

gpt4all icon gpt4all

gpt4all: run open-source LLMs anywhere

helixer icon helixer

Using Deep Learning to predict gene annotations

isat_with_segment_anything icon isat_with_segment_anything

Labeling tool with SAM(segment anything model),supports SAM, sam-hq, MobileSAM EdgeSAM etc.交互式半自动图像标注工具

jdk icon jdk

JDK main-line development https://openjdk.org/projects/jdk

keydb icon keydb

A Multithreaded Fork of Redis

mask_rcnn icon mask_rcnn

Mask R-CNN for object detection and instance segmentation on Keras and TensorFlow

metabase icon metabase

The simplest, fastest way to get business intelligence and analytics to everyone in your company :yum:

metrics icon metrics

📊 An infographics generator with 30+ plugins and 300+ options to display stats about your GitHub account and render them as SVG, Markdown, PDF or JSON!

ml-cookbook icon ml-cookbook

12 weeks, 26 lessons, 52 quizzes, classic Machine Learning for all

nmap icon nmap

Nmap - the Network Mapper. Github mirror of official SVN repository.

node icon node

Node.js JavaScript runtime ✨🐢🚀✨

o-cnn icon o-cnn

O-CNN: Octree-based Convolutional Neural Networks for 3D Shape Analysis

open-sora-plan icon open-sora-plan

This project aim to reproduce Sora (Open AI T2V model), we wish the open source community contribute to this project.

opencv icon opencv

Open Source Computer Vision Library

openvino icon openvino

OpenVINO™ is an open-source toolkit for optimizing and deploying AI inference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.