我下面这些代码哪里出了问题?
#include<iostream>
#include<random>
#include<unistd.h>
#include<string>
#include<iomanip>
#include<stdio.h>
#include<conio.h>
#include<list>
namespace std{namespace CMD{
void progress(float e,string N){int a,b=1,c=9,d,i;string A[]={"/","―","\\","","/","―","\\",""};
if(N=="red"){d=91;}if(N=="blue"){d=94;}if(N=="green"){d=32;}if(N=="yellow"){d=33;}
for(i=10;i<1000;i+=100){for(a=11;a>0;a--){cout<<endl;}system("clear");cout<<"[还有"<<c<<"s]";
for(a=0;a<b;a++){cout<<"\033["<<d<<"m■■\033[0m";}for(a=10;a>b;a--){cout<<"□□";}
cout<<"["<<i/10+9<<"%]"<<"0:"<<i/100<<""<<"["<<A[i/125]<<"]"<<endl;int f=e*1000000;usleep(f);b+=1;c-=1;}
}void Colorh(string a){if(a=="主"){cout<<"设置默认控制台前景和背景颜色"<<endl<<endl;
cout<<"COLOR [attr]"<<endl<<endl<<" attr 指定控制台输出的颜色属性"<<endl<<endl;
cout<<" 0 = 黑色 8 = 灰色"<<endl<<" 1 = 蓝色 9 = 淡蓝色"<<endl;
cout<<" 2 = 绿色 A = 淡绿色"<<endl<<" 3 = 浅绿色 B = 淡浅绿色"<<endl;
cout<<" 4 = 红色 C = 淡红色"<<endl<<" 5 = 紫色 D = 淡紫色
{
g=90;}