![Thumbnail of post image 018](https://izadori.net/wp-content/uploads/2024/06/c-100x100.png)
【C++】Pythonのenumerate()関数(っぽいもの)を実装する
はじめに 前のエントリでは、Pythonのzip()関数に似た機能を持つ関数を作成しました ...
![Thumbnail of post image 154](https://izadori.net/wp-content/uploads/2024/04/c-100x100.png)
【C++】Pythonのzip()関数(っぽいもの)を実装する
はじめに C++11で追加された範囲for(range-based for)文は、コンテナ ...
![Thumbnail of post image 111](https://izadori.net/wp-content/uploads/2024/04/c-100x100.png)
【C++】コンテナを渡したらイテレータを返し、配列を渡したらポインタを返す
std:begin()やstd::end()の戻り値を受ける変数を宣言するために使います。 ...
![Thumbnail of post image 153](https://izadori.net/wp-content/uploads/2024/04/c-100x100.png)
【C++】いまさらだけどtupleを理解する
タプル(tuple)とは タプルとは、複数の型の値をひとまとめにして取り扱うためものです。 ...
![Thumbnail of post image 112](https://izadori.net/wp-content/uploads/2024/04/c-100x100.png)
【C++】format() – C++でprintf()風の書式指定を使う
はじめに C++で値を出力するにはストリームを使いますが、桁数設定や小数点以下の精度表示を ...
![Thumbnail of post image 066](https://izadori.net/wp-content/uploads/2021/02/Visual_Studio_Code_1.35_icon-100x100.png)
【VS Code】CMake+GCCを使ってC/C++の開発を行う
![Thumbnail of post image 041](https://izadori.net/wp-content/uploads/2024/04/c-100x100.png)
【C++】一貫比較 – 三方比較演算子(<=>)
![Thumbnail of post image 103](https://izadori.net/wp-content/uploads/2024/04/c-100x100.png)