Modernes C++ programmieren

Okt 20, 2024

lst-0011-book.cpp

#include "my_string.hpp"
static const my_string ZEBRA { "zebra" };
int main() {
    my_string animal{ "horse" };
    if(ZEBRA.equals(animal)) return 0;
    else return 1;
}