Commit 93ab85c3 by 李维杰

修改配置信息

parent 5d34b8b7
......@@ -5,6 +5,11 @@
#include "../thirdparty/curl/http_request.h"
void printf_help()
{
std::cout << "Enter room's password:";
}
int main()
{
bool ret = HttpRequest::Init();
......@@ -15,7 +20,7 @@ int main()
}
std::cout << "webserver address:" << HttpRequest::GetWebServerUrl() << std::endl;
std::cout << "please input password:";
printf_help();
std::string keyword;
std::string token;
......@@ -38,7 +43,7 @@ int main()
}
std::cout << std::endl;
std::cout << "<----------------------------------------------------------------------" << std::endl;
std::cout << "<------------------------------------------------------------------------------------------------------------------------" << std::endl;
if (!HttpRequest::LogIn("offcn-live", keyword, token, roomid))
{
......@@ -81,11 +86,11 @@ int main()
}
}
}
std::cout << "---------------------------------------------------------------------->" << std::endl;
std::cout << "------------------------------------------------------------------------------------------------------------------------>" << std::endl;
keyword = "";
std::cout << std::endl << std::endl;
std::cout << "please input password:";
printf_help();
}
return 0;
}
......@@ -31,6 +31,7 @@
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
<UseOfMfc>Static</UseOfMfc>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment