0% found this document useful (0 votes)
14 views7 pages

BIL104E - Introduction To Scientific & Engineering Computation Laboratory Course Notes 1

Kahraman Yumak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views7 pages

BIL104E - Introduction To Scientific & Engineering Computation Laboratory Course Notes 1

Kahraman Yumak
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

BIL104E - Introduction to Scientific & Engineering Computation

Laboratory Course Notes 1

Assistants: Kahraman Yumak http://triton.elk.itu.edu.tr/~kahraman/

Installing Dev -C ++
Web site

: http://www.bloodshed.net/dev/devcpp.html

Version

: Dev-C++ 5.0 beta 9.2 (4.9.9.2)

Download Page : http://sourceforge.net/projects/dev-cpp/files/Binaries/Dev-

C%2B%2B%204.9.9.2/devcpp-4.9.9.2_nomingw_setup.exe/download

Open the file devcpp-4.9.9.2_nomingw_setup.exe

Click OK.

Click I Agree.

Click Next.

Do not change the destination folder. It is better to be C:\Dev-Cpp. Click Install.

Click Finish and Run Dev-C++.

On the first run Dev-C++, a notice window will appear. Read and click OK.

Select language(English is preferred) and click Next.

Click Next.

Click Next.

Click OK.

This is the Dev-C++ main window look.

Click File, then New and Project.

On the New Project screen choose Console Application and C Project. Name the first project as
Welcome.

Create a new folder named as work under the Dev-Cpp folder. From now on, save all projects under
this folder.

For the first project, create a new folder named as project1 and save Welcome.dev under this
folder.

This is the default screen of a new project. On the left column you can see Welcome and main.c
which are the first project that we will run.
Just click and copy the code below.
/* Fig. 2.1: fig02_01.c
A first program in C */
#include <stdio.h>
/* function main begins program execution */
int main( void )
{
printf( "Welcome to C!\n" );
getch();
return 0; /* indicate that program ended successfully */
} /* end function main */

Paste the code on main.c and save under the project1 folder.

Then, on the toolbar click Compile&Run or just hit F9 on your keyboard.

A new black window which welcomes you will appear that means you installed Dev-C++ successfully.

You might also like