I have a Sensor class that I want to represent in a GUI using MVC, how can I do this if I cannot have a reference to the Sensor in the View, and so its members?
My sensor class is composed by 1 string (name), 1 int (price), 1 bool (if is available or not), and I want to make a little box to display this (I’m using C++). I don’t really know how to implement this by following MVC rules
New contributor
Kappa klism is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.