Is there any way to embed egrep and wget in my application?

为君一笑 提交于 2019-12-25 17:07:46

问题


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



来源:https://stackoverflow.com/questions/1221650/is-there-any-way-to-embed-egrep-and-wget-in-my-application

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!