Get the App
SLTechnology News&Howtos  ›  Development  › 

What are the common configuration methods for VS 2003 Boost

Shulou Source: shulou.com Published: 2022-06-02 07:41:56 10月03日 Update

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

Tags: Programs directories files procedures configurations expressions methods parameters regular library files meaning paths links variables commands locations steps facets generation compilation Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information vpn NVidia macOS MariaDB