コード例 #1
0
ファイル: main.cpp プロジェクト: sambatyon/googleurl
void print_uri(GURL &url) {
    std::cout << "scheme:\t\t" << url.scheme() << "\nusername:\t" << url.username() << "\npassword:\t" << url.password()
        << "\nhost:\t\t" << url.host() << "\nport:\t\t" << url.port() << "\npath:\t\t" << url.path() << "\nquery:\t\t"
        << url.query() << "\nfragment:\t" << url.ref() << "\n\n";
}