Im basically tryin to make a program that reads information about ships, where each ship can have information of several weapons read.
char type [num];
what would be the code to like cin>> weapon info
if for example we got array of boats: Ship x[n];
n--> number of ships to be read.
I tried using x.y.type;
but it didnt work, plz help
View All Comments
| View Tutorial