when i run it using the "./" the generated .txt file has no output there.
Not what I asked, the command you're trying to execute using system, what happens when you type it into the shell?
In reply to Re^3: How to print the contents of system function to a .txt file
by Anonymous Monk
in thread How to print the contents of system function to a .txt file
by astronogun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |