Search code examples
c++lynx

How to execute lynx -dump


This may sound stupid, but is there a way to open terminal and execute "lynx -dump HTML.html > text.txt" using C++?


Solution

  • Use system() function. See here: http://linux.die.net/man/3/system