Message from C, C++ discussions

November 2019

— Okay ^^


Guys how can i use association and dependency between classes to design a simple registration program..

— ?

— Wat

— What exactly do you mean by registration program?

— A system that can be used in institutions ...i.e university

— So you mean a list of persons who are registered in the university?

— Sort of a program than you can help you key in registration numbers of i.e students and their names..

Message permanent page

— Just use a map with an unique id as key for each student and a student class as value

— You could also use their full name as key or generate one with a xorshift or mersenne twister generator

Message permanent page

— Lol, never got that one xD

— It would be a compiler bug rather than actual error