c++ system.print code example Example 1: c++ print cout << "put text here" Example 2: c++ print cout << "hello world"