Presentation is loading. Please wait.

Presentation is loading. Please wait.

C Compilers & IDEs When faced with a decision, I always ask, "What would be the most fun?" Peggy Walker In the name of God © 2006 NematAllah Ahmadyan.

Similar presentations


Presentation on theme: "C Compilers & IDEs When faced with a decision, I always ask, "What would be the most fun?" Peggy Walker In the name of God © 2006 NematAllah Ahmadyan."— Presentation transcript:

1 C Compilers & IDEs When faced with a decision, I always ask, "What would be the most fun?" Peggy Walker In the name of God © 2006 NematAllah Ahmadyan. Introduction to Programming course [ce153c]

2 Programmer C Compiler OS & CPU Beyond Our Scope

3 IDEs Integrated Development Environment They have all the tools integrated Editor Compiler Debugger [Publisher] [Documentaries ]

4 Famous IDEs Microsoft Visual Studio 2005 Dev-Cpp 5 Emacs/Vim + gcc + gdb Eclipse IDE 3.2 Borland Turbo C / C++ Builder Metrowerks CodeWarrior \ KDeveloper

5 Famous Compiler + Debugger Microsoft C/C++ compiler [ cl.exe ] Microsoft C/C++ compiler Old microsoft QuickC + Microsoft C/C++ GNU GCC – G++ Compiler | gdb 3.2, 4.0 [Win,Linux,Unix,Solaris] Intel C/C++ compiler [Win,Linux] Intel C/C++ compiler Borland TurboC / C Compiler [Windows] + Kylix 3.0 [Linux] Borland TurboC / C Compiler Watcom C, Open Watcom Watcom COpen Watcom Apple GCC 3.3, 4.0 on Mac OS X. Apple GCC HP C++ for Tru64 UNIX 7.1. HP C++ for Tru64 UNIX 7.1 Metrowerks CodeWarrior 9.5 [OS X, Windows] Metrowerks CodeWarrior

6 Know your Compiler Use the most of your compiler Be Aware of compiler specific syntax, which is not supported by ANSI/ISO C Example: Microsoft C/C++ 8 : [ defining an array trough cli ] int *rint[,] = new int *[10, 10]; gcc: long long ?=

7 Microsoft Visual Studio 2005 It’s from Microsoft. Uses Microsoft.net C/C++ compiler Based on.net 2 Also support other language [ basic, J#, C#, Pascal! … ] Too expensive! But first class IDE. Complete suite [ compiler, framework, Editor, Debugger, Publisher, MSDN, etc.] Compiler command: cl main.c cl /c main.c

8 Dev-CPP Free-OpenSource-GCC base [ included ] Compatible with gcc & gdb For windows! CVS support

9 Eclipse Sponsored by IBM IDE for Java ( mostly )/ Cpp/ Python/ GWT … For both Windows and Linux

10 TurboC / C++Builder Made by Borland Small & Easy but inefficient For DOS, altough it runs under windows too. The borland company was bought by Microsoft, nowadays a new version of C++Builder has been released.

11 Linux/Unix Environment The programmer’s heaven! Birthplace of GCC. KDeveloper! Emacs [ just Editor + gdb ] VIM [ just Editor + make ]

12 Additional Resource: Deitel & Deitel C++ How to program Chapter 1 Section 14 and 16 DEITEL® DIVE INTO™ Series [www.deitel.com/books/downloads.html ]www.deitel.com/books/downloads.html MSDN TLDP [ ]www.tldp.org


Download ppt "C Compilers & IDEs When faced with a decision, I always ask, "What would be the most fun?" Peggy Walker In the name of God © 2006 NematAllah Ahmadyan."

Similar presentations


Ads by Google