كود:
//In the name of Allah --- We love our prophet Mohammed peace be upon him...
#include <iostream>
using namespace std;
#include <windows.h>
int main(void) {
for( int i = 0; i < 10;i++)
{
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),11);
cout << "\rThis code simulates highlighting";
for( int z = 0; z != 99989978; z++);
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 15);
cout << "\rThis code simulates highlighting";
for( int z = 0; z != 99989978; z++);
}
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE), 12);
cout << "\n\n\nPlease put your mark for me\n10- excellent \n1- I\'ll not program again" << endl;
system("pause");
return 0;
}