xtd 0.2.0
Loading...
Searching...
No Matches
strings.cpp

Shows how to use xtd::basic_string constructors.

#include <xtd/xtd.core>
#include <xtd/xtd.console>
using namespace std::literals;
int main(int argc, char* argv[]) {
auto str2 = "desktop"s;
auto str3 = "environment"s;
xtd::console::write_line(xtd::strings::join(" ", {str1, str2, str3}));
}
static void write_line()
Writes the current line terminator to the standard output stream using the specified format informati...
static xtd::operating_system os_version() noexcept
Gets an xtd::operating_system object that contains the current platform identifier and version number...
xtd::string desktop_environment() const noexcept
Gets the desktop environment.