Sams Teach Yourself C in 21 Days

(singke) #1
Getting Started with Dev-C++ 885

G


The Dev-C++ Programs

The Dev-C++ installation will place a number of links on your Windows Start menu. The
following links are placed under the Dev-C++ menu option:


  • Debugger

  • Dev-C++

  • Dev-C++ help file

  • GDB Debugger help

  • License

  • ReadMe

  • Standard Template Library guide

  • Tutorial
    This book is about programming in C, not about using the Dev-C++ development envi-
    ronment. To find out more about each of the above options, you should review the Dev-
    C++ Help files and tutorial. The following sections will, however, show you the basics of
    compiling a C program with Dev-C++.


Start with the Dev-C++ help file rather than the Tutorial if you are inter-
Tip ested in learning more about Dev-C++.

Using Dev-C++

You can use Dev-C++ to create both C and C++ programs. You run the development
environment by selecting Program Files, Dev-C++, Dev-C++. This will launch the Dev-
C++ IDE. When you run the program, you will be placed into the IDE as shown in
Figure G.4.
While Dev-C++ is generally setup to use project files, you can also use it to enter a sin-
gle C source file. A project file is used to create an application that can contain multiple
files. For most of the applications you create in this book, you only need to enter a single
source file at a time.

Customizing Dev-C++ for C Programming

Before learning to enter and run a program, there are a few options you should consider
setting. You only need to set these options once.

50 448201x-APP G 8/13/02 11:21 AM Page 885

Free download pdf