11 Dec 2017 by Jochen Arndt
The posted code is C, not C++. If you only want to convert the algorithm, create Java classes for the point and rect structs with the required member functions (construction, copy, get, set), and make vcode a function accepting references to those classes. Or rewrite the code first as C++ with...