ゲーム作りは楽しい

なんか書く

2023-11-08から1日間の記事一覧

0=1の証明

本日のギャグです。 こちらのコードを見てください。 #include <cctype> #include <iostream> int main() { using namespace std; int32_t x = 0; if (x = x + 1) std::cout << "true"; } C++で以下のコードを実行したら「true」と出力されたので、 「x = x + 1」はtrueになり</iostream></cctype>…