07 2013 档案
摘要:1、DWORD dwFileSizeHigh; // 得到文件大小的高位 __int64 qwFileSize = GetFileSize(m_hSrcBigFile, &dwFileSizeHigh); qwFileSize |= (((__int64)dwFileSizeHigh)<<32);//高位左移32位,或上低位,组成整个文件的大小2、ULARGE_INTEGER tInt1;tInt1.LowPart = GetFileSize(tHandle, &tInt1.HighPart);__int64 tFileSize1 = tInt1.QuadPart;
阅读全文
摘要:#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //初始化影像、地形void initImageAndElevation(osgEarth::Map* map){//影像osgEarth::Drivers::TMSOptions imgOption;imgOption.url()=&qu
阅读全文
摘要:遇到“bash .....权限不够”的问题时,从控制台进入到那个文件夹chmod 777 * -R 全部子目录及文件权限改为 777
阅读全文
摘要:1、先设定一个root的密码sudo passwd root2、编辑lightdm.confsudo gedit /etc/lightdm/lightdm.conf最后一行添加greeter-show-manual-login=true修改后为:[SeatDefaults]greeter-session=unity-greeteruser-session=ubuntugreeter-show-manual-login=true重启登陆即可。已经可以输入root了。注意:如果root登陆后没声音,又查了查,如下方法:Ubuntu root登录没有声音这个问题的根本原因是使用root登录后puls
阅读全文
摘要:打开AirPort打开设置偏好-共享,找到WIFI相关
阅读全文
摘要:我使用的是WAMP2.2菜单-PHP-PHP extensions勾选php_sqlite3query('select * from table1');while($row=$r->fetchArray()){var_dump($row);}$conn->close();?>
阅读全文