-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshit.c
72 lines (68 loc) · 3.04 KB
/
shit.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#include <windows.h>
#include <iostream.h>
#include <stdlib.h>
using namespace std;
int main() {
HANDLE hOut;
hOut = GetStdHandle( STD_OUTPUT_HANDLE );
cout << "Standart" << endl << endl;
cout << "by DrraVen" << endl;
cout << "Zycze milych prac z c++" << endl;
//Standardowy ^
SetConsoleTextAttribute( hOut, BACKGROUND_RED );
cout << "Ten napis jest z cerwonycm tlem i zwyk³ym tekstem" << flush << endl << endl;
//T³o ^
SetConsoleTextAttribute( hOut, BACKGROUND_GREEN );
cout << "Ten napis ma zielone tlo" << flush << endl;
//T³o2 ^
SetConsoleTextAttribute( hOut, FOREGROUND_RED );
cout << "Ten napis jest czerwony bez tla" << endl;
//Napis ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN );
cout << "Ten napis jest zielony" << endl << endl;
//Napis2 ^
SetConsoleTextAttribute( hOut, FOREGROUND_BLUE );
cout << "Ten napis jest niebieski" << endl << endl;
//Napis3 ^
SetConsoleTextAttribute( hOut, FOREGROUND_RED | FOREGROUND_INTENSITY );
cout << "Ten napis jest zielony i [i]INTENSITY[/i]" << endl;
//Intesywny ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_INTENSITY );
cout << "Ten napis jest zielony i [i]INTENSITY[/i]" << endl;
//Intesywny2 ^
SetConsoleTextAttribute( hOut, FOREGROUND_BLUE | FOREGROUND_INTENSITY );
cout << "Ten napis jest niebieski i [i]INTENSITY[/i]" << endl;
//inne kolory ^
SetConsoleTextAttribute( hOut, FOREGROUND_BLUE | FOREGROUND_RED );
cout << "Ten napis jest fioletowy'" << endl;
//inne kolory ^
SetConsoleTextAttribute( hOut, FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_INTENSITY );
cout << "Ten napis jest fioletowy i intesywny" << endl;
//inne kolory + intesywnoϾ ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_RED );
cout << "Ten napis jest [i]ala[/i] zloty " << endl;
//inne kolory2 ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_RED | FOREGROUND_INTENSITY );
cout << "Ten napis jest bardzije podobny do zlotego bo ma intesywnosc" << endl;
//inne kolory 2 + intesywnoϾ ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_INTENSITY );
cout << "Ten napis jest seledynowy, bo jest intesywny" << endl;
//inne kolory3 + intesywnoϾ ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_BLUE );
cout << "Ten napis jest matowy bo nie ma intesywnosci" << endl;
//inne kolory3 ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_RED );
cout << "Mozna powiedzieæ ze ten napis jest standartowy" << endl;
//inne kolory4 ^
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_RED | FOREGROUND_INTENSITY );
cout << "Ten napis jest srebny bo ma intesywnosc" << endl;
//inne kolory4 + intesywnoϾ ^
// endl;
cout << "" << endl;
cout << "" << endl;
cout << "" << endl;
// endl;
SetConsoleTextAttribute( hOut, FOREGROUND_GREEN | FOREGROUND_BLUE | FOREGROUND_RED );
system( "PAUSE" );
return 0;
}