Saturday, October 29, 2011
my sloppy c++ mplayer-svn code
// //revised from @ http://www.dreamincode.net/forums/topic/73663-system-command-cinget/ ////////////////////////// #include
#include
#include
using namespace std; int main() { string command; cout <<" Enter a string to send to the MPLAYER command interface:\n "; cout <<" hint type: jump.mp3 "; cin >> command; string look("./mplayer-svn " + command); system(look.c_str()); return 0; }
compile: $ c++ infile.cpp -o outfile.bin
No comments:
Post a Comment
Newer Post
Older Post
Home
No comments:
Post a Comment