c++ error when trying to multiply structs

后端 未结 0 1190
走了就别回头了
走了就别回头了 2020-12-14 11:04

I am writing a practice program to output a restaurants bill, I am getting "error: no match for \'operator\'" on my line with m[i].item = m[i].item * q[i].quantity

相关标签:
回答
  • 消灭零回复
提交回复
热议问题