i need in my application the feathers that the good old egrep and wget give me , but i can't execute them as separate process i need them as embedded functions in my application is there any way to do that ? cross platform and c++
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
For getting wget
functionality you could use libcurl.
回答2:
You can use a regular expressions library. Boost::Regex is a common option. A less portable option for now is the Visual C++ Feature Pack or the Dikumware TR1 implementations, which already come with regular expressions support. Finally you can search google for "C++ regular expressions" and you should be offered with other options.
回答3:
Judging from this mailing list entry, wget is probably not available in library form currently:
http://www.mail-archive.com/bug-wget@gnu.org/msg00431.html