123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
#include <iostream> #include <windows.h> using namespace std; HANDLE hStdout = GetStdHandle(STD_OUTPUT_HANDLE); CONSOLE_SCREEN_BUFFER_INFO csbiInfo; WORD wOldColorAttrs = csbiInfo.wAttributes; void solute1() { cout<<"\n\n\n\n\n\n\t\t\t\t\t\t -------\n" "\t\t\t\t\t\t| 0 0 |\n" "\t\t\t\t\t\t| b |\n" "\t\t\t\t\t\t| --- |\n" "\t\t\t\t\t\t \\ /\n" "\t\t\t\t\t\t | |"; } void solute2() { cout<<""; } void solute3() { cout<<""; } int main() { system("color 5c"); int v=1; while(v!=0){ for(v=1;v!=4;v++){ cout<<"\t\t\t\t\tWe Solute to Veterans!"<<endl; if(v==1) { solute1(); }else if(v==2) { solute2(); }else if(v==3) { solute3(); } Sleep(500); system("cls"); } v=1; } }