0

Why code block is showing reference to 'distance' is ambigous?

https://code.sololearn.com/catiMk5BfCL0/?ref=app

6th Apr 2019, 4:52 PM
Rishab Sharma
Rishab Sharma - avatar
2 Answers
+ 3
There's something seriously wrong with int main() distance diff_dist(distance,distance); {. Maybe it's just a missing { after int main()
6th Apr 2019, 5:07 PM
Anna
Anna - avatar
+ 1
Check the line 17 .
6th Apr 2019, 5:12 PM
Rishab Sharma
Rishab Sharma - avatar