我正在使用JQuery Mobile开发一个应用程序.
这是我的HTML代码.
我的页面<iframe>里面有一个全屏.我width:100%; height:100%; border:0%为我设置了样式,iframe但它的高度超过了内容的高度和主页面的滚动条.
我该如何避免这个问题?(我完全想要height:100%我的iframe)
我无法在Code :: Blocks中编译Boost.Asio.我安装并编译了Boost C++库,并运行了给定的测试示例.现在我想让Boost.Asio运行.
这是编译器调用:
mingw32-g++.exe -L"C:\Program Files (x86)\boost\boost_1_49_0" -o bin\Debug\server.exe obj\Debug\server.o D:\CodeBlocksIDE\CodeBlocks\lib\libboost_filesystem-mgw44-mt-1_49.a D:\CodeBlocksIDE\CodeBlocks\lib\libboost_system-mgw44-mt-1_49.a
这是输出(有关更多信息,请参阅此链接):
boost/asio/detail/impl/winsock_init.ipp:39: undefined reference to 'WSAStartup@8'
boost/asio/detail/impl/winsock_init.ipp:48: undefined reference to 'WSAStartup@0'
boost/asio/detail/impl/socket_ops.ipps:50: undefined reference to 'WSASetLastError@4'
boost/asio/detail/impl/socket_ops.ipps:178: undefined reference to 'GetAcceptExSockaddrs@32'
boost/asio/detail/impl/socket_ops.ipps:296: undefined reference to 'closesocket@4'
Run Code Online (Sandbox Code Playgroud)
这是代码:
//
// server.cpp
// ~~~~~~~~~~
//
// Copyright (c) 2003-2012 Christopher M. Kohlhoff (chris at kohlhoff dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) …Run Code Online (Sandbox Code Playgroud)