cos takiego:
#include <iostream>
#include <conio.h>
using namespace std;
int main()
{
int Tekst;
int dom;
cout << "Zaszyfrowane slowo: omd ";
cout << "Sprobuj je rozszywrowac: ";
cin >> Tekst;
if (Tekst == "dom" )
cout << "Dobrze!!";
else
cout << "Zle!!";
getch();
}