00001 #include <iostream> 00002 #include "connectstring.h" 00003 00004 00005 using namespace std; 00006 00007 00008 int main ( int ac, char ** av ) 00009 { 00010 int ret = 0; 00011 if( ac != 2 ) 00012 { 00013 cout << "usage: encodeConnect \"connectstring\"" << endl; 00014 ret = -1; 00015 } 00016 else 00017 { 00018 setConnectstring(av[1]); 00019 } 00020 return ret; 00021 }
1.5.5