add snippet to write with <iostream> header quickly