Using C++ to make a simple text-based application to timetable classes

So I am making a simple-texted based application as part of a project written in C++, the program is supposed to timetable classes, I need to store information on students, lecturers, modules, classes. I don't know where to start. I want to use an array to store my timetable in memory. I don't know how to do that yet. I don't know how to go forward.

#include <iostream>
#include <string>
#include <window.h>
using namespace std;

/* Student Timetable

struct Student{
int StudentID;
char Studentname;
char course;
int modules;

struct Lecturer{
int LecturerID;
char LecturerName;
char course;
int modules;


Class modules

int Monday, Tuesday, Wednesday, Thursday

int main()
std:: string "Enter Firstname:";
std:: string "Enter Lastname:";
The first thing to do is to design the program. Then code from the design. What data is required for output, what input data is needed, what data needs to be stored?
What algorithm(s) are required for class timetabling?

Your given structs look wrong - as Studentname is typed as a char?? It should probably be std::string. The same with course. Shouldn't this be a std::vector as a student will probably attend more than one course? Is a course broken down into modules? Do you need a course struct as well?

Only once you have the data structs and the algorithm and the program design should you then go to code.
Topic archived. No new replies allowed.