Presentation is loading. Please wait.

Presentation is loading. Please wait.

Programming C++ in Linux by various IDEs and editors by: Danial Khashabi Master: Dr.B.Taheri November 2008.

Similar presentations


Presentation on theme: "Programming C++ in Linux by various IDEs and editors by: Danial Khashabi Master: Dr.B.Taheri November 2008."— Presentation transcript:

1 Programming C++ in Linux by various IDEs and editors by: Danial Khashabi Master: Dr.B.Taheri November 2008

2 Programming in Linux Over view Tools These tools are available for Linux, and most are in the repositories. All are free. Everyone has their preferences, so it is usually futile to ask which is better. The easiest way to find out is to try them and see for yoursel f. Editors Editors are needed for almost every language. Any text editor will do. Editra, Emacs, Gedit, kate, Kwrite, Vim and.... Integrated Development Environments (IDE ) Kdevelop, Eclips, Anjuta, Code::Blocks, Eclipse, Geany, GNAT Programming Studio IDLE, Lazarus, MonoDevelop, NetBeans Interface Designers Glade

3 Programming in Linux GEdit gedit is a free software, text editor for the GNOME desktop environment. It is mainly designed for editing program code. Features: For various program codes includes syntax highlighting. (C, C++, Java, HTML, XML, Python, Perl and many others) GUI tabs for editing multiple files Tabs can be moved between various windows as fitting for the coder. And other simple features for text editors like line numbering, bracket matching, text wrapping, current line highlighting and automatic file backup.

4 Programming in Linux VIM VI Improved An editor for Unix-Based systems, or windows It can be runned in Console or Graphical base.(GVIM) instead, it uses an external compiler such as gcc to produce executable code. supports many programming languages such as Ada, Bash, C, C++, Fortran, Java, Pascal, Perl, PHP, Python and Ruby Features: Its fast to edit a file. (not uses graphical envirment) Simple to learn and work.

5 Programming in Linux GNU C++ compiler Will install the g++ and gcc compilers Will install GNU make

6 Programming in Linux Compiling a C++ Program with gcc/g++ g++ hello.cpp: compiling and making object file with name of a.out ( just with errors ) -o Operater: making an object file with a desired name. -allw (all warnings): compiling with showing all warnings./a.out out: Getting inputs from a file and putting outputs in a file For more information: man g++

7 Programming in Linux Build systems * GNU gmake/make: GNU make is a build system based on the original UNIX "make" build system

8 Programming in Linux Shell Scripting What is shel scripting? One of powerful tools, under Linux that for all practical purposes are unavailable under Windows. ”shell programming",This means writing code that a command shell executes.

9 Programming in Linux Any Question?

10 Programming in Linux Kdevelop is a free software integrated development environment for the KDE desktop environment for Unix-like computer operating systems. Does not include a compiler! instead, it uses an external compiler such as gcc to produce executable code. supports many programming languages such as Ada, Bash, C, C++, Fortran, Java, Pascal, Perl, PHP, Python and Ruby Features: Source code editor + syntax highlighting + automatic indentation Project management for different project types, such as Automake. GUI Designer. Automatic code completion (C/C++)

11 Programming in Linux Eclipse Primarily meant for developing software in Java. There are plug-ins to support many other programming languages, such as C and C++, PHP, Python, Ruby and... CDT: C/C++ development plug-in for Eclipse

12 Programming in Linux MonoDevelop Mono is an Integrated Development Environment for GNOME, mainly designed for progrmming in C# and other.NET languages (ex.: Visual Basic.NET). Features: code completion (like the IntelliSense in Microsoft Visual Studio) class management project support add-ins and a built-in help system.

13 Programming in Linux MATLAB MATLAB is a numerical computing environment and programming language. MATLAB is not a free software, but availble to use by cracking! Features: Source code editor + syntax highlighting + automatic indentation Project management for different project types, such as Automake. GUI Designer. Automatic code completion (C/C++)

14 Programming in Linux Thanks !

15 Programming in Linux Goals of this presentation How to compile programs with GNU C++ compiler. How to work with various editors and IDEs. is a free software integrated development environment for the KDE desktop environment for Unix-like computer operating systems. Does not include a compiler! instead, it uses an external compiler such as gcc to produce executable code. supports many programming languages such as Ada, Bash, C, C++, Fortran, Java, Pascal, Perl, PHP, Python and Ruby Features: Source code editor + syntax highlighting + automatic indentation Project management for different project types, such as Automake. GUI Designer. Automatic code completion (C/C++)


Download ppt "Programming C++ in Linux by various IDEs and editors by: Danial Khashabi Master: Dr.B.Taheri November 2008."

Similar presentations


Ads by Google