What am I doing Wrong with this C++ code?
<p>Sorry, forgot the code</p>

<p>Here is the incorrect code.
I have been trying to get this working, but all the logical operators do not work.</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
using namespace std;
string repeat;
string repeatnum;
string prompt = "|-[]-&gt;";
int main()
{
string entry;
bool Running = true;
while(Running == true)
{
cout &lt;&lt; "\n";
cout &lt;&lt; prompt;
cin &gt;&gt; entry;
if(entry == "Exit") return 0;
if(entry == "Help") cout &lt;&lt; "HELP:\nThsi is a simple program, try an input";
if(entry == "ChangePrompt")
{
    cout &lt;&lt; "What do you want to change the prompt to?: ";
    cin &gt;&gt; prompt;
}
if(entry == "Repeat" || "repeat")
{
    cout &lt;&lt; "What string do you want to repeat?: ";
    cin &gt;&gt; repeat;
    cout &lt;&lt; "How many times do you want to repeat" &lt;&lt; repeat &lt;&lt; "(1-9)?: ";
    cin &gt;&gt; repeatnum;
    if(repeatnum &gt; 0){}
}
}
char f;
cin &gt;&gt; f;
return 0;
}
</code></pre>

<p>Here is the error I am getting.</p>

<pre><code>Error:
C:\Users\Packard Bell\Desktop\test\main.cpp||In function 'int main()':|
C:\Users\Packard Bell\Desktop\test\main.cpp|29|error: no match for 'operator&gt;' in 'repeatnum &gt; 0'|
||=== Build finished: 1 errors, 0 warnings ===|
</code></pre>
