Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samiulislamsharan/studentinformationlinkedlist
https://github.com/samiulislamsharan/studentinformationlinkedlist
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/samiulislamsharan/studentinformationlinkedlist
- Owner: samiulislamsharan
- Created: 2021-07-31T13:31:38.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-26T18:41:25.000Z (8 months ago)
- Last Synced: 2024-03-26T19:49:14.471Z (8 months ago)
- Language: C++
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Student Record Management System
This is a simple C++ program that implements a Student Record Management System using a singly linked list. It allows you to create, delete, search, and view student records. The program provides a menu-based interface to interact with the records.
## Class Definition
``` c++
class node {
public:
int studentId;
string name;
string grade;
node* next;
};
```This class defines a node that represents a single student record. It contains three fields: `studentId` (for the unique identifier of the student), `name` (for the student's name), grade (for the student's grade), and a `next` pointer to the next node in the linked list.
## Function Definitions
```c++
bool check(int x);
```This function checks whether a record with the given `studentId` already exists in the linked list or not. If a record with the same `studentId` is found, it returns true; otherwise, it returns `false`.
```c++
void insertRecord(int studentId, string name, string grade);
```