Help me please:
Let's say I have this struct
I add the number of cars that i want...(...)Code:struct Cars { char brand[30]; char model[30]; char serial_number[30]; } car[30];
After, i want to make a search by brand, let's say I want to search for all the Ferrari cars that I added and I want that appear in the search all the model and serial numbers of the Ferraris that I've searched.
If there is not any car of the brand that I've searched I wan't that appear on the screen "car not found" or something like that.
I tried a couple of things but i still don't know how to do this kind of things.
I can't use pointers.
PS:I invented this example right now.