My code seems to do nothing
<p>Doesn't do anything, it doesn't even let me input when I call gets(), even my IDE is claiming "statement has no effect".</p>

<pre><code>#include &lt;iostream&gt;
#include &lt;cstring&gt;
#include &lt;cstdio&gt;

using namespace std;

int main()
{
char userluv[800], fuusd[800], orig[800], key [51], priv [21];
int tempfussd[800], kint, pint, tint[5], c, lame;

//get the basic info
cout &lt;&lt; "key? ";
cin &gt;&gt; key;
cout &lt;&lt; "Second key? ";
cin &gt;&gt; priv;
cout &lt;&lt; "Your lovely text?:\n";
gets(userluv);

for(c=0; c&lt;=key[c]; c++){
    kint += key[c];
}
for(c=0; c&lt;=priv[c]; c++){
    pint += priv[c];
}

//do stuff to your key
tint[0] = strlen(key) + strlen(priv);
tint[1] = tint[0] * tint[0];

//string to int then do stuff
    for(c=0; c&lt;=userluv[c]; c++){
    tempfussd[c] = userluv[c];
    tempfussd[c] + kint;
    tempfussd[c] * pint;
    tempfussd[c] * tint[1];
}

    cout &lt;&lt; "\n" &lt;&lt; tempfussd[c] &lt;&lt; "\n";

return 0;
}
</code></pre>
