i am new to the forum and would like to ask a question. I would like to write a program where i have 2 cars and they are moving in a d-array. I had made a same program where i had 1-d array only. Basicaly the moves are +1, 0, +1 just to know. I want to have d dimensions and do some things...
The only thing i know is that the 'd' number is given by user and i must have a class Car whos code must be the same with main's. Also i must have one class Position and Dimension. That was an exercise where i dont want you to solve but only to help me understand what i must do. I dont know what private and public data should i use. :/
thx for anyone that helps me...cya