10th Jul 2021, 4:41 PM
Ahmed Mahmoud
Ahmed Mahmoud - avatar
2 Antworten
+ 1
line 57: scanf("%s",&inventory[num_parts].part_name); should be: scanf("%s",inventory[num_parts].part_name); (remove the '&' in front of 'inventory') however, you have other mistakes, such as unexpected space before %c when scanf for op_code ^^
10th Jul 2021, 6:45 PM
visph
visph - avatar
0
Ahmed Mahmoud Please give an example of the input that triggers the warning.
10th Jul 2021, 6:42 PM
Calvin Thomas
Calvin Thomas - avatar