0

c++ class function

https://code.sololearn.com/chE2qUuQBuCv/#cpp compile error : I have some problem with the function StdWeight I don't know how to solve this problem

4th Aug 2019, 11:02 AM
êč€ë„현
êč€ë„현 - avatar
1 Answer
+ 4
You declared StdWeight as a int variable.
4th Aug 2019, 11:07 AM
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż
äœ çŸ„é“èŠć‰‡ïŒŒæˆ‘äčŸæ˜Ż - avatar