标签:turn include stdio.h stream cst space names i++ ios
#include <stdio.h> #include<iostream> #include<cstring> #include <stdlib.h> #include <Windows.h> using namespace std; char a[]={‘0‘,‘1‘,‘2‘,‘3‘,‘4‘,‘5‘,‘6‘,‘7‘,‘8‘,‘9‘,‘A‘,‘B‘,‘C‘,‘D‘,‘E‘,‘F‘}; int n=52,jj=197; int main() { for(int i=1;i<=n;i++){ for(int j=1;j<=jj;j++){ if(i==1 || i==n || j==1 || j==jj)cout<<1; else cout<<0; } cout<<endl; } system("@echo off"); while(1) for(int i=0;i<=15;i++) for(int j=0;j<=15;j++){ if(i!=j){ char s[]="@color "; s[7]=a[i];s[8]=a[j]; system(s); // for(int k=0;k<=7;k++)cout<<s[k]; // cout<<endl; } for(int k=1;k<=100000;k++); } return 0; }
标签:turn include stdio.h stream cst space names i++ ios
原文地址:http://www.cnblogs.com/A1269180380/p/7440126.html