17 lines
341 B
C++
17 lines
341 B
C++
#include <iostream>
|
|
#include <string>
|
|
#include "config.h"
|
|
using namespace std;
|
|
|
|
|
|
string getDatabaseLink(string database) {
|
|
string password = get_password();
|
|
cout << password << endl;
|
|
try {
|
|
database.replace(21, 10, password);
|
|
}
|
|
catch (...) {
|
|
cout << "Error finding password\n";
|
|
}
|
|
return database;
|
|
} |