s_h_a_d_o_w_s
January 1st, 2007, 07:33 PM
I'm writing a C++ program to add lyrics to a song using eyeD3. This is what I have so far:
#include <iostream>
#include <string>
using namespace std;
int main ()
{
string dir;
string lyr;
cout<< "music file directory: " ;
cin >> dir;
cout<< "lyrics: " ;
cin >> lyr;
What I wanted to know is how to I tell the program to run a command to the terminal, say xterm? Any help would be appreciated.
#include <iostream>
#include <string>
using namespace std;
int main ()
{
string dir;
string lyr;
cout<< "music file directory: " ;
cin >> dir;
cout<< "lyrics: " ;
cin >> lyr;
What I wanted to know is how to I tell the program to run a command to the terminal, say xterm? Any help would be appreciated.