Modernes C++ programmieren

Okt 23, 2024

lst-0076-godb.cpp

//#(compile) c++; compiler:g132; options:-O3 -std=c++23; libs:-
// https://godbolt.org/z/ebPcdxzvj 
#include <iostream>
int main() {
    std::cout << 3 + 4 * 5 + 6 << "\n";               // 29
    std::cout << 20/7 << " Rest " << 20%7 << "\n";    // 2 Rest 6
}