Programming In Linux Presentation

1,462 views
1,378 views

Published on

This is a short presentation about programming and its instruments on linux

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
1,462
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
127
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Programming In Linux Presentation

  1. 1. Programming C++ in Linux by various IDEs and editors by: Danial Khashabi Master: Dr.B.Taheri November 2008
  2. 2. Programming in Linux <ul><ul><ul><li>Over view </li></ul></ul></ul><ul><ul><li>Tools </li></ul></ul><ul><li>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. </li></ul><ul><ul><li>Editors </li></ul></ul><ul><li>Editors are needed for almost every language. Any text editor will do. </li></ul><ul><li>Editra, Emacs, Gedit, kate, Kwrite, Vim and .... </li></ul><ul><ul><li>Integrated Development Environments ( IDE ) </li></ul></ul><ul><li>Kdevelop, Eclips, Anjuta, Code::Blocks, Eclipse, Geany, GNAT Programming Studio </li></ul><ul><li>IDLE, Lazarus, MonoDevelop, NetBeans </li></ul><ul><ul><li>Interface Designers </li></ul></ul><ul><li>Glade </li></ul>
  3. 3. Programming in Linux <ul><li>GEdit </li></ul><ul><li>gedit is a free software, text editor for the GNOME desktop environment. </li></ul><ul><li>It is mainly designed for editing program code. </li></ul><ul><ul><li>Features: </li></ul></ul><ul><ul><li>For various program codes includes syntax highlighting. (C, C++, Java, HTML, XML, Python, Perl and many others) </li></ul></ul><ul><ul><li>GUI tabs for editing multiple files </li></ul></ul><ul><ul><li>Tabs can be moved between various windows as fitting for the coder. </li></ul></ul><ul><ul><li>And other simple features for text editors like line numbering, bracket matching, text wrapping, current line highlighting and automatic file backup. </li></ul></ul>
  4. 4. Programming in Linux <ul><ul><ul><li>VIM </li></ul></ul></ul><ul><li>VI Improved </li></ul><ul><li>An editor for Unix-Based systems, or windows </li></ul><ul><li>It can be runned in Console or Graphical base.(GVIM) </li></ul><ul><li>instead, it uses an external compiler such as gcc to produce executable code. </li></ul><ul><li>supports many programming languages such as Ada, Bash, C, C++, Fortran, Java, Pascal, Perl, PHP, Python and Ruby </li></ul><ul><ul><li>Features: </li></ul></ul><ul><ul><ul><li>Its fast to edit a file. (not uses graphical envirment) </li></ul></ul></ul><ul><ul><ul><li>Simple to learn and work. </li></ul></ul></ul>
  5. 5. Programming in Linux <ul><ul><ul><li>GNU C++ compiler </li></ul></ul></ul><ul><li>Will install the g++ and gcc compilers </li></ul><ul><li>Will install GNU make </li></ul>
  6. 6. Programming in Linux <ul><ul><ul><li>Compiling a C++ Program with gcc/g++ </li></ul></ul></ul><ul><li>g++ hello.cpp: compiling and making object file with name of a.out ( just with errors ) </li></ul><ul><li>-o Operater: making an object file with a desired name. </li></ul><ul><li>-allw (all warnings): compiling with showing all warnings </li></ul><ul><li>./a.out <in> out: Getting inputs from a file and putting outputs in a file </li></ul><ul><li>For more information: man g++ </li></ul>
  7. 7. Programming in Linux <ul><li>Build systems </li></ul><ul><li>* GNU gmake/make: GNU make is a build system based on the original UNIX &quot; make &quot; build system </li></ul>
  8. 8. Programming in Linux <ul><ul><ul><li>Shell Scripting </li></ul></ul></ul><ul><li>What is shel scripting? </li></ul><ul><li>One of powerful tools, under Linux that for all practical purposes are unavailable under Windows. </li></ul><ul><li>” shell programming&quot;,This means writing code that a command shell executes. </li></ul>
  9. 9. Programming in Linux <ul><ul><ul><li>Any Question? </li></ul></ul></ul>
  10. 10. Programming in Linux <ul><ul><ul><li>Kdevelop </li></ul></ul></ul><ul><li>is a free software integrated development environment for the KDE desktop environment for Unix-like computer operating systems. </li></ul><ul><li>Does not include a compiler! instead, it uses an external compiler such as gcc to produce executable code. </li></ul><ul><li>supports many programming languages such as Ada, Bash, C, C++, Fortran, Java, Pascal, Perl, PHP, Python and Ruby </li></ul><ul><ul><li>Features: </li></ul></ul><ul><ul><ul><li>Source code editor + syntax highlighting + automatic indentation </li></ul></ul></ul><ul><ul><ul><li>Project management for different project types, such as Automake. </li></ul></ul></ul><ul><ul><ul><li>GUI Designer. </li></ul></ul></ul><ul><ul><ul><li>Automatic code completion (C/C++) </li></ul></ul></ul>
  11. 11. Programming in Linux <ul><ul><ul><li>Eclipse </li></ul></ul></ul><ul><li>Primarily meant for developing software in Java. </li></ul><ul><li>There are plug-ins to support many other programming languages, such as C and C++, PHP, Python, Ruby and ... </li></ul><ul><li>CDT: C/C++ development plug-in for Eclipse </li></ul>
  12. 12. Programming in Linux <ul><li>MonoDevelop </li></ul><ul><li>Mono is an Integrated Development Environment for GNOME, mainly designed for progrmming in C# and other .NET languages (ex.: Visual Basic .NET). </li></ul><ul><ul><li>Features: </li></ul></ul><ul><ul><li>code completion (like the IntelliSense in Microsoft Visual Studio) </li></ul></ul><ul><ul><li>class management </li></ul></ul><ul><ul><li>project support </li></ul></ul><ul><ul><li>add-ins and a built-in help system. </li></ul></ul>
  13. 13. Programming in Linux <ul><ul><ul><li>MATLAB </li></ul></ul></ul><ul><li>MATLAB is a numerical computing environment and programming language. </li></ul><ul><li>MATLAB is not a free software, but availble to use by cracking! </li></ul><ul><ul><li>Features: </li></ul></ul><ul><ul><ul><li>Source code editor + syntax highlighting + automatic indentation </li></ul></ul></ul><ul><ul><ul><li>Project management for different project types, such as Automake. </li></ul></ul></ul><ul><ul><ul><li>GUI Designer. </li></ul></ul></ul><ul><ul><ul><li>Automatic code completion (C/C++) </li></ul></ul></ul>
  14. 14. Programming in Linux <ul><ul><ul><li>Thanks ! </li></ul></ul></ul>
  15. 15. Programming in Linux <ul><ul><ul><li>Goals of this presentation </li></ul></ul></ul><ul><li>How to compile programs with GNU C++ compiler. </li></ul><ul><li>How to work with various editors and IDEs. </li></ul><ul><li>is a free software integrated development environment for the KDE desktop environment for Unix-like computer operating systems. </li></ul><ul><li>Does not include a compiler! instead, it uses an external compiler such as gcc to produce executable code. </li></ul><ul><li>supports many programming languages such as Ada, Bash, C, C++, Fortran, Java, Pascal, Perl, PHP, Python and Ruby </li></ul><ul><ul><li>Features: </li></ul></ul><ul><ul><ul><li>Source code editor + syntax highlighting + automatic indentation </li></ul></ul></ul><ul><ul><ul><li>Project management for different project types, such as Automake. </li></ul></ul></ul><ul><ul><ul><li>GUI Designer. </li></ul></ul></ul><ul><ul><ul><li>Automatic code completion (C/C++) </li></ul></ul></ul>

×