This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### DigitalPulseSoftware Individual Contributor License Agreement | |
Thank you for your interest in contributing to Nazara Engine (“Project”) made available by its author (Jérôme Leclercq) or affiliates (“DigitalPulseSoftware”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to DigitalPulseSoftware in respect of any of the Project (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected]. | |
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions. | |
**Copyright License.** You hereby grant, and agree to grant, to D |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### DigitalPulseSoftware Individual Contributor License Agreement | |
Thank you for your interest in contributing to Burg'war (“Project”) made available by its author (Jérôme Leclercq) or affiliates (“DigitalPulseSoftware”). This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to DigitalPulseSoftware in respect of any of the Project (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected]. | |
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions. | |
**Copyright License.** You hereby grant, and agree to grant, to Digita |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Exemple C++ | |
#include <memory> | |
#include <iostream> | |
#include <string> | |
#include <vector> | |
#include <mutex> | |
class CopyWatcher | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const std::string& dbHost = config.GetStringOption("Database.Host"); | |
const std::string& dbUser = config.GetStringOption("Database.Username"); | |
const std::string& dbPassword = config.GetStringOption("Database.Password"); | |
const std::string& dbName = config.GetStringOption("Database.Name"); | |
long long dbPort = config.GetIntegerOption("Database.Port"); | |
PGconn* conn = PQsetdbLogin(dbHost.c_str(), std::to_string(dbPort).c_str(), "", "", dbName.c_str(), dbUser.c_str(), dbPassword.c_str()); | |
if (!conn) | |
{ | |
std::cout << "Connection failed" << std::endl; |