How is this simple student management system thing in C++?
Hey,
so I guess I kinda am a beginner programmer and here is a very basic student management/handling system I made in C++ (I coded this on my phone so I couldn't use text files to store data). Any suggestions on how to improve it and whatnot would be appreciated.
\`\`\`cpp
\#include <iostream>
# include <iomanip>
# include <string>
# include <vector>
# include <algorithm>
using namespace std; class Student { public: string name, className; double grade;
Hey there! I'm experimenting with POSIX api and I want to create my own mini shell. I want my shell to open an interactive shell mode and be able to receive command input line by line from the kernel. I am not sure how to achieve this. If I am not mistaken, I read that I should be able to somehow link my shell to a /dev/ttyX or /dev/pts/X driver in "cooked mode" (my shell only receives input only after a user presses 'ENTER', not after every keypress)
Ive tried Googling for the solution, but its been ineffective. Im so confused, I don't even know how to look for a solution for this.
Here is the current code snippet of my program. (Excuse the bad programming) `initInteractiveMode` is meant to initialize interactive mode