tag:blogger.com,1999:blog-66835607928677987832024-02-20T00:33:42.334-08:00c++ unix programsASHOKhttp://www.blogger.com/profile/09284727413174600537noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-6683560792867798783.post-27931219275017765252009-09-25T21:29:00.000-07:002009-09-25T21:30:07.136-07:00c++ unix with fastThe C++ Programming Environment in UNIX<br />The best way to learn a programming language is to try writing programs and test them on a computer! To do this, we need several pieces of software:<br />An editor with which to write and modify the C++ program components or source code,<br />A compiler with which to convert the source code into machine instructions which can be executed by the computer directly,<br />A linking program with which to link the compiled program components with each other and with a selection of routines from existing libraries of computer code, in order to form the complete machine-executable object program,<br />A debugger to help diagnose problems, either in compiling programs in the first place, or if the object program runs but gives unintended results.<br />There are several editors available for UNIX-based systems. Two of the most popular editors are . For the compiler and linker, we will be using the GNU g++ compiler/linker, and for the debugger we will be using the GNU debugger gdb. For those that prefer an integrated development environment (IDE) that combines an editor, a compiler, a linking program and a debugger in a single programming environment (in a similar way to Microsoft Developer Studio under Windows NT), there are also IDEs available for UNIX (e.g. Eclipse, xcode, kdevelop etc.)ASHOKhttp://www.blogger.com/profile/09284727413174600537noreply@blogger.com0