is there anybody who could give me some basic ideas about planning a concept of my c++ project?
I have a GUI with 2 line-edits , a button and a result-field. ( Later I want to have many line-edits for input and result but for now I want to keep it simple) My idea was to combine all my input-data in a new class ( class INPUT ) . For result I want to combine all result-data in another class ( class RESULT). For calculating the results I want to create a method (something like RESULT sum ( INPUT in ) ). I don`t want to do all of it in just 1 class, I need input and result classes because I will have many data-fields in the final version
Would this be a good concept? If so, where would I write the method of the calculation (sum()) ? In the INPUT class, the RESULT Class or the main.cpp ?