e.g. In diesem Code druckt es "gleich": < /p>
Code: Select all
#include
#include
int main(int argc, char const *argv[])
{
std::string s = "Hello, World!";
auto addr = &s;
auto addr2 = s.c_str();
std::cout
Code: Select all
#include
#include
int main(int argc, char const *argv[])
{
std::string s = "Hello, World!";
auto addr = &s;
auto addr2 = s.c_str();
std::cout