Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <conio.h>
- char a[100];
- using namespace std;
- #undef endl
- #define rand_nou endl
- #define da_bip "\a"
- #define cere_parola a
- int main()
- {
- cout << "test" << rand_nou << "test";
- cout << da_bip<<rand_nou;
- cin >> cere_parola;
- if (strcmp(cere_parola, "test") == 0) cout << "Parola corecta"<<rand_nou;
- else
- {
- cout << "Parola gresita" << da_bip<<rand_nou;
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement