after typing g++ gedit_file.cc i get a filed name a.out in the same folder that is locked.  where do i go from here?  thanks<br><br><div class="gmail_quote">On Sun, Jan 24, 2010 at 1:51 PM, Peter Langfelder <span dir="ltr">&lt;<a href="mailto:peter.langfelder@gmail.com">peter.langfelder@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On Sun, Jan 24, 2010 at 10:41 AM, Matt Smith &lt;<a href="mailto:smithm2@gmail.com">smithm2@gmail.com</a>&gt; wrote:<br>

&gt; using the gcc-c++ compiler can someone provide a simple 3 or 4 step example<br>
&gt; as to how i use the compiler (in the terminal) to compile a program i wrote<br>
&gt; and saved in a gedit file?  thanks.<br>
&gt;<br>
<br>
<br>
</div>g++ -o executable program.cc<br>
<br>
to execute:<br>
<br>
./executable<br>
<br>
<br>
Peter<br>
<font color="#888888">--<br>
</font><div><div></div><div class="h5">users mailing list<br>
<a href="mailto:users@lists.fedoraproject.org">users@lists.fedoraproject.org</a><br>
To unsubscribe or change subscription options:<br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/users" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/users</a><br>
Guidelines: <a href="http://fedoraproject.org/wiki/Communicate/MailingListGuidelines" target="_blank">http://fedoraproject.org/wiki/Communicate/MailingListGuidelines</a><br>
</div></div></blockquote></div><br>