當前位置:首頁 » 編程軟體 » boost編譯vs2008

boost編譯vs2008

發布時間: 2024-07-15 09:06:54

1. 鎬庢牱鍦╒S2013涓瀹夎呴厤緗産oost

鍦╒S2013涓瀹夎呴厤緗産oost姝ラわ細

  1. 涓嬭澆Boost搴擄紝榪欓噷鎴戦夋嫨涓嬭澆boost_1_55_0.zip

  2. 瑙e帇boost鏂囦歡鍒版湰鍦扮洰褰曪紙濡侴:oost_1_55_0錛夛紝鍙浠ュ彂鐜拌В鍘嬪悗鐨勬枃浠朵腑鏈変竴涓猙ootstrap.bat鏂囦歡銆傜劧鍚庝互綆$悊鍛樿韓浠芥墦寮cmd紿楀彛銆

  3. 涓婅堪鍛戒護鎵ц屽畬姣曞悗鍙浠ュ彂鐜癎:oost_1_55_0涓嬫柊鐢熸垚浜嗕竴涓猙jam.exe鏂囦歡

  4. 鍦ㄥ懡浠ょ獥鍙d腑杈撳叆璇鍙ワ細bjam.exe銆傛よ繃紼嬪皢榛樿ゆ牴鎹緋葷粺宸茬粡瀹夎呭ソ鐨勭紪璇戝伐鍏鳳紙VS2008,2010,2012,2013)絳夌紪璇戠浉搴旂殑Lib鏂囦歡銆佸ご鏂囦歡絳夈傦紙姝ゆラゅぇ姒傞渶瑕10鍒嗛挓錛

  5. 浠庝笅鍥懼彲浠ョ湅鍒癿svc 12.0,榪欐槸鍥犱負鎴戠郴緇熶腑宸茬粡瀹夎呰繃浜哣S2013

    msvc : 8.0鏄疺S2005

    msvc : 10.0鏄疺S2010

    msvc : 12.0鏄疺S2012銆乂S2013

  6. 絎5姝ユ墽琛屾垚鍔熷悗浼氭湁濡備笅淇℃伅鎻愮ず

  7. 鑷蟲ゆ垜浠宸茬粡瀹屾垚浜哹oost搴撶殑瀹夎咃紝涓嬮潰闇瑕侀厤緗涓涓媀S2013浜嗐傛柊寤轟竴涓猇S2013鎺у埗鍙板簲鐢ㄧ▼搴忥紙宸ョ▼鍚嶄負boostest)錛屾坊鍔犲備笅浠g爜

#include "stdafx.h"

#include <boost/lexical_cast.hpp>

#include <iostream>

using namespace std;

int main()

{

using boost::lexical_cast;

int a = lexical_cast<int>("123");

double b = lexical_cast<double>("123.0123456789");

string s0 = lexical_cast<string>(a);

string s1 = lexical_cast<string>(b);

cout << "number: " << a << " " << b << endl;

cout << "string: " << s0 << " " << s1 << endl;

int c = 0;

try{

c = lexical_cast<int>("abcd");

}

catch (boost::bad_lexical_cast& e){

cout << e.what() << endl;

}

return 0;

}

8.娣誨姞boostest宸ョ▼鐨勫寘鍚鐩褰曞拰搴撶洰褰

鍖呭惈鐩褰曟坊鍔 G:oost_1_55_0

搴撶洰褰曟坊鍔 G:oost_1_55_0stagelib

9.榪涘叆浠g爜紿楀彛緙栬瘧騫舵垚鍔熻繍琛岃存槑BOOST搴撶『瀹炲凡緇忛厤緗鎴愬姛錛屽彲浠ユ斁蹇冧嬌鐢ㄣ

熱點內容
python強轉 發布:2024-11-07 13:32:35 瀏覽:1000
方塊方舟如何架設伺服器 發布:2024-11-07 13:08:37 瀏覽:366
什麼5v5安卓和蘋果都可以聯機 發布:2024-11-07 13:03:03 瀏覽:772
數字證書連接不上伺服器地址 發布:2024-11-07 13:00:50 瀏覽:915
mysql導出資料庫結構 發布:2024-11-07 13:00:49 瀏覽:467
360如何清除緩存 發布:2024-11-07 12:59:38 瀏覽:497
ftp伺服器c語言 發布:2024-11-07 12:45:15 瀏覽:97
delphijava 發布:2024-11-07 12:40:35 瀏覽:465
sqlserver查詢數據 發布:2024-11-07 12:40:28 瀏覽:7
javaj2ee 發布:2024-11-07 12:26:17 瀏覽:788