public static void testSimple() throws HttpProcessException{ String url = "http://tool.oschina.net/";//简单调用 String resp = HttpClientUtil.send(url);System.out.println("请求结果内容长度:"+ resp);}
include <cmath> class Point { private:double x;double y;public:Point(): x(0.0), y(0.0) {};Point(double x, double y){ this->x = x;this->y = y;} double getX() { return x; } double getY() { return y; } };