Preview

How to Use Dev C

Powerful Essays
Open Document
Open Document
1300 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
How to Use Dev C
How to use Dev-C++
Introduction
Dev-C++ is a full-featured integrated development environment (IDE), which is able to create Windows or DOS-based C/C++ programs using the Mingw compiler system (included with the package), or the Cygwin compiler. These are the recommended requirements of Dev-C++: Microsoft Windows 98, NT or 2000 32 MB RAM 233 Mhz Intel compatible CPU 45 MB free disk space Dev-C++ allows you to write, compile and run a C or C++ program. C++ programming language is an enhanced version of C language that provides object-oriented programming (OOP) capabilities. It is a superset of C, which means that you can use a C++ compiler to compile C programs. Object oriented programming techniques differ significantly from the sequential programming used in C programming language. Although a C++ compiler like Dev-C++ allows you to compile a C program that includes some features of C++, in this course we will concentrate on C programming language. A program written in pure C language may be compiled and run using other C compilers, like Turbo C etc.

Dev-C++ interface
When you click on the Dev-C++ icon window opens (Figure 1). on your desktop, the program

Compile New source file Run

Compile and run

Figure 1.

Click on each menu on the Menu bar and study the menu options. Note the icons that are shown next to the menu items. You can find the identical icons on the toolbar. In the first part of the course you will write, compile and run a program that is written as a single source file. For this you will use only a few buttons (or menu options) from the toolbar. Later you will learn how to create a project that consists of many separate files. Before you write your first C program we customise some of the Environmental settings of the IDE. 1. Choose Options => Compiler Options from the toolbar. The following dialog box appears (Figure 2):

Figure 2. Click on the Linker tab on the top and uncheck all the boxes. Most importantly make sure that the

You May Also Find These Documents Helpful

  • Satisfactory Essays

    1980 C++ was invented at bell laboratories the cool thing about c++ is it has low lever and high level machine languages.…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    On my computer which I am running windows 7 I click the start button then type msinfo32 into the search box and press the return key.…

    • 1870 Words
    • 8 Pages
    Powerful Essays
  • Powerful Essays

    EAS230Syllabus

    • 1748 Words
    • 8 Pages

    C++ programming: editing, compiling, user I/O, variables (ints, doubles, char, strings, booleans), loops, decisions, functions, pointers, arrays, tables, databases, sorting.…

    • 1748 Words
    • 8 Pages
    Powerful Essays
  • Good Essays

    C Is difficult, because the control flow is out of the hands of the application programmer…

    • 1508 Words
    • 7 Pages
    Good Essays
  • Better Essays

    4. Copy and paste the program code into Word after the screen capture. Your instructor may ask you to include your entire project as a ZIP file. If so, she or he will give you specific instructions.…

    • 1818 Words
    • 8 Pages
    Better Essays
  • Good Essays

    Mary Styles Harrs

    • 1061 Words
    • 5 Pages

    Directions: Use the http://educate.intel.com/en/TheJourneyInside/ExploreTheCurriculum/ website to complete the units in this series. Choose Intro to Computers on the gray menu bar. Choose Lesson 3 on the left side of your screen and complete the questions below after reading the paragraph, watching the video, and completing Activity…

    • 1061 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Ever since the birth of The United States, we have shown resilience and determination, starting with the Revolutionary war. As years passed and national division became evident there was discussion on who would win the fight between the free and enslaved states. Over time it has become apparent that the colonies and the confederacy have shared many qualities, which makes one wonder how is it that the colonies won, but the confederacy did not? The reason the South didn’t win the Civil War was because they were outgunned, out supplied, received no international aid and this time, their enemy wasn’t an ocean away.…

    • 877 Words
    • 4 Pages
    Good Essays
  • Good Essays

    4. The program output is shown in the Built-in Console window in NotePad++. The Console window may be docked on the top, bottom, left or right side of the screen. For longer program runs, docking the console window on the right-hand side is recommended.…

    • 2429 Words
    • 10 Pages
    Good Essays
  • Good Essays

    It-250 Week 5 Questions

    • 397 Words
    • 2 Pages

    3. Show two ways to instruct the C preprocessor to include the header file /usr/include/math.h in you C program. Assuming that the declar.h header file is located in the subdirectory named headers of your home directory, described two ways to instruct the C preprocessor to include this header file in your C program.…

    • 397 Words
    • 2 Pages
    Good Essays
  • Good Essays

    C++ HW1 ANSWER

    • 993 Words
    • 4 Pages

    Initialize a variable number F that keeps a very large value (must be larger than those values of A, B, C, D, E)…

    • 993 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    6. Create the form with relevant controls. Control Text Box Text Box Option Button Option Button DTPicker Combo Box Combo Box Text Box Command Button Command Button Command Button Command Button Command Button Command Button Name txtEmpCode txtEname optMale optFemale dtpDob cboDesig cboDept txtSalary cmdAdd cmdView cmdEdit cmdDelete cmdClear cmdExit…

    • 1707 Words
    • 7 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sa3Dany

    • 270 Words
    • 2 Pages

    20% of the total grade is deducted for each day after due date with a maximum of 5 days delay.…

    • 270 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    C coding

    • 384 Words
    • 2 Pages

    6. Get the modulus of student ID by 3 using if condition in order to achieve the below functionality:…

    • 384 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Sri Lanka News

    • 897 Words
    • 4 Pages

    1. 2. 3. Enter two number from key bard and print average Enter three number and find the maximum number Process of the ATM machine…

    • 897 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    Cis Memory Management

    • 1581 Words
    • 7 Pages

    The purpose of this paper is to show how memory is used in executing programs and its critical support for applications. C++ is a general purpose programming language that runs programs using memory management. Two operating system environments are commonly used in compiling, building and executing C++ applications. These are the windows and UNIX / Linux (or some UNIX / Linux derivative) operating system. In this paper we will explore the implementation of memory management, processes and threads.…

    • 1581 Words
    • 7 Pages
    Powerful Essays