DedSec Project

C Plus Plus — reference sample — DedSec Project

include <iostream include <string std::string greet(const std::string& n) { return "Hello, " + n + "!"; } int main() { std::cout << greet("Ada") << ' n'; }

Source reference

#include <iostream>
#include <string>
std::string greet(const std::string& n) { return "Hello, " + n + "!"; }
int main() { std::cout << greet("Ada") << '\n'; }