Coding tonight (I understand this is Valentine's Day) and came across something strange ...
I have the following line:
std:;cout << freqs[summations[i]] / 1000 * 10 << std::endl;
It compiles. However, if I do this, it will not compile.
std;;cout << freqs[summations[i]] / 1000 * 10 << std::endl;
I do not have strict properties in my compilation line. However, I would not have thought that GCC would allow this to compile and output. Why is this?
source
share