added snippet for cout in C++