i'm making a program in C. that keeps track of items in a warehouse.
and i want to force the user to include at least one number! example dvd1, dvd2. hello1, hello20
is there a way to do this? at this moment i am using scanf.
and i want the product code to have the requirement format of xx-xxx-xxx were x are numbers.
i'm using scanf ( %[0-9-]s
Mvh Anton!