In C++, the istream object std::cin
is declared in header <iostream>
, but where is it defined?
Where it is defined is not mandated by the standard, it's completely up to the implementation.
Here's where mine is:
$ nm -C /usr/local/lib64/libstdc++.so.6 | grep -w cin
0000000000305900 B std::cin
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With