AdamGeober AdamGeober - 1 year ago 64
C++ Question

Why does a plain URI written in c++ code work?

I put URI in code and the compiler will not throw any error, why (explain please)

#include <iostream>

using namespace std;

int main()
cout << "Hello World!" << endl;
return 0;

Answer Source

Identifier followed by : becomes a label in C++. Anything followed by // becomes a comment.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download