هذا الكود لتغيير لون النص في الكنسل تستطيع تغير لون كل سطر فقط اضف قبل السطرالى تريده تغييره
[background=black]
#include <stdlib.h>
#include <windows.h>
#include <iostream>
using namespace std;
HANDLE hcon = GetStdHandle(STD_OUTPUT_HANDLE);
#define yellow SetConsoleTextAttribute(hcon,14/*جرب غير الرقمين*/);
#define white SetConsoleTextAttribute(hcon,15);
#define blue SetConsoleTextAttribute(hcon,61);
int main()
{
yellow;
cout<<"Arab Team"<<endl;
white;
cout<<"Arab Team"<<endl;
blue;
cout<<"Arab Team"<<endl;
return 0;
}
[/background]

