<p>Geany fails to execute Cpp file following compiling with no error.   File was vardef.cpp and compiled correctly with no errors, but when trying to execute, execute failed with the following message.</p>
<p>'"./vardef"' is not recognized as an internal or external command, operable program or batch file<br>
(exited with code 9009)</p>
<p>This has happened with other files with each message beginning with '"./filename"'<br>
This file is as follows:</p>
<p>// vardef.cpp<br>
#include <br>
using namespace std;<br>
int index;</p>
<p>int main()<br>
{<br>
int stuff;<br>
int &another_stuff = stuff; // A synoym for stuff</p>
<pre><code>stuff = index + 14;  // index was initialized to zero
cout << "stuff has the value " << stuff << "\n";
stuff = 17;
cout << "another_stuff has the value " << another_stuff << "\n";
</code></pre>
<p>int more_stuff = 13;  // not automatically initialized</p>
<pre><code>cout << "more_stuff has the value " << more_stuff << "\n";

for (int count = 3 ; count < 8 ; count++)
{
        cout << "count has the value " << count << "\n";
        char count2 = count + 65;
        cout << "count2 has the value " << count2 << "\n";
}

static unsigned goofy;  // automatically initialized to zero

        cout << "goofy has the value " << goofy << "\n";
        
return 0;
</code></pre>
<p>}</p>
<p>// Result of execution<br>
//<br>
// stuff has the value 14<br>
// another_stuff has the value 17<br>
// more_stuff has the value 13<br>
// count has the value 3<br>
// count2 has the value D<br>
// count has the value 4<br>
// count2 has the value E<br>
// count has the value 5<br>
// count2 has the vallue F<br>
// count has the value 6<br>
// count 2 has the value G<br>
// count has the value 7<br>
// count2 has the value H<br>
// goofy has the value 0</p>
<p>Any help would be appreciated.<br>
Regards, Paul</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2297?email_source=notifications&email_token=AAIOWJ52IQIEKXWQO66ICITQI7ZENA5CNFSM4IVLWQ22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKRE53A">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJZPQGM55WMQRHOPDOLQI7ZENANCNFSM4IVLWQ2Q">mute the thread</a>.<img src="https://github.com/notifications/beacon/AAIOWJ2L5FRFHLEX7QD24B3QI7ZENA5CNFSM4IVLWQ22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKRE53A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2297?email_source=notifications\u0026email_token=AAIOWJ52IQIEKXWQO66ICITQI7ZENA5CNFSM4IVLWQ22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKRE53A",
"url": "https://github.com/geany/geany/issues/2297?email_source=notifications\u0026email_token=AAIOWJ52IQIEKXWQO66ICITQI7ZENA5CNFSM4IVLWQ22YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HKRE53A",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>