Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What are the common configuration methods for VS 2003 Boost

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

This article shares with you about the common configuration methods of VS 2003 Boost. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

If you compile the following program and do not report an error when linking, you will correctly link the lib library file. Through the output of the program, it shows that the program is running normally, and our library is installed correctly. Let's use VS 2003 Boost to build all the libraries.

Let's take a look at a Mini Program and test the regular expression function:

# include # include using namespace boost; using namespace std; int main (int argc, const char** argv) {wchar_t * strSample = L "[Harbin] Gao Hongwei 2007-05-15 hehe Blog: http://dukejoe.yeah.net" Wregex rg_Expression (L "(\\ [(\\ S*)\]) ((\\ S |\\ s) *) (\\ d {4,\\ d {2,} -\ d {2,}) ((\\ S |\\ s) *)", boost::regex::perl); wcmatch what; wcout.imbue (locale ("chs")) Try {if (regex_match (strSample, what, rgExpression)) {wcout

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: 266

*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.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report