When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
11 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For more information use !howto ask.
Well don't wanna give away your homework but have a look at this as resource
https://www.learncpp.com/cpp-tutorial/basic-inheritance-in-c/
inheritance is the only way to solve it?
or do we have another method without using it?
because we haven't taken the inheritance topic during the lecture.
No inheritance needed here.
That I am sure of.
But I am not sure if I truly understand the assignment.
Need example input output
this question is Task 1, after solving it need to continue with task 2,
Task 2:
Modify program in Task 1 so that you use an array to store the five records instead of using 5 different variables.
The main problem now is i also can't truly understand the task 1 question, so i mention is the tittle if anybody can understand it
oh dunno then, you said create a structure related to an existing structure and add stuff to it, so i assumed it you can't edit what already exists, but still like Dimwit said theres not alot of info to go off
oh that makes more sense inheritance isn't needed then yeah
When don’t you post task 1 then