Linux C++ compiler

Matt Smith smithm2 at gmail.com
Sun Jan 24 20:48:40 UTC 2010


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

On Sun, Jan 24, 2010 at 1:51 PM, Peter Langfelder <
peter.langfelder at gmail.com> wrote:

> On Sun, Jan 24, 2010 at 10:41 AM, Matt Smith <smithm2 at gmail.com> wrote:
> > using the gcc-c++ compiler can someone provide a simple 3 or 4 step
> example
> > as to how i use the compiler (in the terminal) to compile a program i
> wrote
> > and saved in a gedit file?  thanks.
> >
>
>
> g++ -o executable program.cc
>
> to execute:
>
> ./executable
>
>
> Peter
> --
> users mailing list
> users at lists.fedoraproject.org
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Guidelines:
> http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20100124/1d775748/attachment.html 


More information about the users mailing list