Im trying to learn how to use structs now and i can't seem to figure it out, Im having problems using a c style string or char array in my struct and there are absolutely zero online resources i can find to help me on the topic.
why doesnt this work:
this looks like what you wanted to express. the 1 is understood.
char make [1][15] is not exactly the same as
char make[15] but it is "logically" the same and more correct.
you only want to do a 2-d array if you actually have 2 dimensions; here, you might like an array of strings, which would look like
char aos[10][100] which is 10 strings, 100 long each. Making it 1 long and 15 wide... is pretty much the same as just having it, and it being 15 wide. Does that make sense?
with the above struct, you should now be able to do this: