سؤال

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

هل كانت مفيدة؟

المحلول

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

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top