In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-09-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces how to configure Visual Studio Boost, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
At the time of writing, the environment I used was Windows XP Home Edition + Boost1.33.1 + Visual Studio .NET 2003, which first downloaded the relevant Boost zip file from the home page of Boost. I downloaded boost_1_33_1.zip, assuming that we extracted it to the root directory of disk D. The unzipped directory structure should be similar to boost_1_33_1-boost-doc-libs-more and so on.
Open Visual Studio .NET 2003 Select menu tools-- > options-- > Project-- > VC++ directory, and in the include Files directory, add a line, such as: d:\ boost_1_33_1. This way you can use most Boost class libraries. Now let's write a Mini Program and feel the Boost.
# include # include # include using namespace boost; using namespace std; int main (int argc, char * argv []) {vector v1; vector::const_iterator ci_v1; int iLength = 0; while (iLength
< 10 ) { try { if ( iLength == 5 ) v1.push_back(lexical_cast("DukeJoe")) ; else v1.push_back(lexical_cast(iLength)); } catch(bad_lexical_cast &ex) { cout 项目-->VC++ directory, add the directory d:\ boost_libs to the "library file" so that VS2003 will search this directory when it links.
Thank you for reading this article carefully. I hope the article "how to configure Visual Studio Boost" shared by the editor will be helpful to everyone. At the same time, I also hope you will support us and pay attention to the industry information channel. More related knowledge is waiting for you to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.