theres a syntax error but i didn't find it? : <pre><code>#include &lt;iostream&gt;
#include &lt;bits/stdc++.h&gt;
using namespace std;
int main()
{
char a[27]=      {'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z',' '};
char A[27]= {'A','B','C','D','E','F','G','H','I','J','K','L','M','N','O','P','Q','R','S','T','U','V','W','X','Y','Z',' '};
string U[27]= {"AAAAA","AAAAB","AAABA","AAABB","AABAA","AABAB","AABBA","AABBB","ABAAA","ABAAB","ABABA","ABABB","ABBAA","ABBAB","ABBBA","ABBBB","BAAAA","BAAAB","BAABA","BAABB","BABAA","BABAB","BABBA","BABBB","BBAAA","BBAAB"," "};
char choiceNum;
while (true)
    {
cout&lt;&lt;"Choose what do you want to do  today"&lt;&lt;endl&lt;&lt;"1-cipher "&lt;&lt;endl&lt;&lt;"2-decipher"&lt;&lt;endl&lt;&lt;"3-If you End what you want"&lt;&lt;endl;
cin&gt;&gt;choiceNum;
cin.ignore();
string message, newMessage, message2;
int i,k, j ;
if (choiceNum=="1")
{
    cout&lt;&lt;"Enter your message to cipher ya man-.-"&lt;&lt;endl;


        newMessage="";
        getline(cin,message);

        for(i=0 ; i&lt;message.length() ; i++)

        {
            for (j=0 ; j&lt;27 ; j++)
            {
                if (message[i]==a[j]|| message[i]==A[j] )
                {
                    newMessage=newMessage+U[j];
                }

            }
        }
        cout&lt;&lt;newMessage&lt;&lt;endl;
    }


if (choiceNum=="2")
{
    cout&lt;&lt;"Enter your message to decipher ya man-.- :"&lt;&lt;endl;


        newMessage="";
        message2="";
        getline(cin,message);
        for(i=0 ; i&lt;message.length() ; ++i)
        {
            if (message[i]=='a' || message[i]=='A')
            {
                message[i]='A';
            }
            else if (message[i]=='b' || message[i]=='B')
            {
                message[i]='B';
            }


        }

        for(k=0 ; k&lt;message.length() ; ++k)
        {
            message2=message2+message[k];

            for (j=0 ; j&lt;27 ; ++j)
            {

                if (message2==U[j])
                {

                    newMessage=newMessage+A[j];
                    message2="";
                }
            }
        }


        cout&lt;&lt;newMessage&lt;&lt;endl;

}
if (choiceNum=="3")
        {
            cout&lt;&lt;"End";
            break;
        }

          }



return 0;
</code></pre>

<blockquote>
  <p>||=== Build file: "no target" in "no project" (compiler: unknown) ===|
  \Baconian cipher.cpp||In function 'int main()':|
  \Baconian cipher.cpp|25|error: ISO C++ forbids comparison between pointer and integer [-fpermissive]|
  \Baconian cipher.cpp|49|error: ISO C++ forbids comparison between pointer and integer [-fpermissive]|
  \Baconian cipher.cpp|91|error: ISO C++ forbids comparison between pointer and integer [-fpermissive]|
  ||=== Build failed: 3 error(s), 0 warning(s) (0 minute(s), 5 second(s)) ===|</p>
</blockquote>

<p>}</p>
