Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
友人が、C に変換する C++ のコードをいくつかくれました。それが何をするのか理解するのを手伝ってくれませんか?
for (int _b(di*3), ddi = _b; ddi < _b+3; ++ddi) Specifically this bit : int _b(di*3) // _b is not a function;
これは単なるコンストラクター呼び出しです。つまり、C++の言い方です。
int _b = di * 3;