新手必看,老手走开

cout是c++中最常见的输出,今天就用cout来打印一只马里奥:

        

#include 
#include 
#include 
using namespace std;

int main()
{
	cout << "                ********" << endl;
	cout << "               ************" << endl;
	cout << "               ####....#." << endl;
	cout << "             #..###.....##...." << endl;
	cout << "             ###.......######              ###                 ###           ###           ###" << endl;
	cout << "                ...........               #...#               #...#         #...#         #...#" << endl;
	cout << "               ##*#######                 #.#.#               #.#.#         #.#.#         #.#.#" << endl;
	cout << "            ####*******######             #.#.#               #.#.#         #.#.#         #.#.#" << endl;
	cout << "           ...#***.****.*###....          #...#               #...#         #...#         #...#" << endl;
	cout << "           ....**********##.....           ###                 ###           ###           ###" << endl;
	cout << "           ....****    *****...." << endl;
	cout << "             ####        ####" << endl;
	cout << "           ######        ######" << endl;
	cout << "##############################################################              ##################################" << endl;
	cout << "#...#......#.##...#......#.##...#......#.##------------------#              #...#......#.##------------------#" << endl;
	cout << "###########################################------------------#              ###############------------------#" << endl;
	cout << "#..#....#....##..#....#....##..#....#....#####################              #..#....#....#####################" << endl;
	cout << "##########################################    #----------#                  ##############    #----------#" << endl;
	cout << "#.....#......##.....#......##.....#......#    #----------#                  #.....#......#    #----------#" << endl;
	cout << "##########################################    #----------#                  ##############    #----------#" << endl;
	cout << "#.#..#....#..##.#..#....#..##.#..#....#..#    #----------#                  #.#..#....#..#    #----------#" << endl;
	cout << "##########################################    ############                  ##############    ############" << endl;
	return 0;
}

你可能感兴趣的:(c++,开发语言)