Resources

  (Software Development Practices) (Spring 2001)

 

Home
Lecture Notes
Textbook
Homeworks
Exams
Resources

I recommend  you to download the free BORLAND C++ Compiler 5.5 at http://www.inprise.com/bcppbuilder/freecompiler/cppc55steps.html  (8.7 MB)
(You need to register first, and then follow instructions on the web page.)

I will also try to make a CD available through the department. You will probably be informed through the Posting Board on the department. 

Note: Borland compiler is a free one that is very much compatible with the latest standards. It will  help you to smoothly pass to Borland's Visual IDE's that we will use to practice on RAD.  

Help on installing and running a program using Borland C++ Compiler 5.5:

Internet'ten Download ettiginiz exe dosyasinin uzerine tiklayarak, BC 5.5 compiler'ini 
C:\Borland\ directory'sine kurun. 

1.Adım
Once PATH'de ayarlama yapacagiz: 
Bir DOS penceresi açıp (Start->Programs->Command Prompt), çıkan ekranda asağıdaki 
satırı yazıp sisteminize BCC 5.5 ile ilgili directory'leri tanıtın:

C:\> PATH = %PATH%; c:\Borland\Bcc55

Boylece sisteminiz C++ compiler'ını ve diğer library directory'lerini bulabilecek.

2.Adım:
Installation yaptiginiz directory'ye gidip onun altindaki bin directory'sinde
iki adet configuration dosyasi olusturun: 
(Windows explorer ile bin directory'sini sa[ panel'de acip, mouse'la sag tiklayin,
New Text Document acin - asagidakine uygun bir isim verin. Bu iki dosyayi Notepad
kullanarak bulup acabilir ve icerilerine su satirlari yazabilirsiniz)

* Birincisi olan ilink32.cfg dosyasinin icine tek satir yazacaksiniz:
-L"c:\Borland\Bcc55\lib"

* Ikincisi olan bcc32.cfg dosyasinin icine iki satir yazacaksiniz:
-I"c:\Borland\Bcc55\include"
-L"c:\Borland\Bcc55\lib"

Bu iki file'i da save edip cikin. 


Compile etmek icin: 
---------------------
Windows Explorer kullanarak Borland compiler'i yuklediginiz directory'nin altında ismi "homeworks" olan yeni bir directory acin. (i.e., C:\Borland\bcc55\MyPrograms\)

Windows Explorer ile "homeworks" directory'si altinda yeni bir text file olusturun: mesela hw1-0417.c (Homework 1'deki 4.chapter 17.soruya karşılık gelen program)

Bir DOS penceresi acip, bu c dosyasinin bulundugu directory'ye gelin:

C:\> CD borland\homeworks\ ENTER 

C:\Borland\bcc55\homeworks> promptu karsiniza gelecek, orada compiler'i calistirin ve dosyayı compile edin:

C:\Borland\bcc55\homeworks> bcc32 hw1-0417.c ENTER 
Borland C++ 5.5 for Win32 Copyright (c) 1993, 2000
hw1-0417.c:
Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland.


Compile sirasinda .obj, .exe ve .tds uzantili üç dosya olusur. 
Programi run etmek icin:

C:\Borland\bcc55\homeworks> hw1-0417.exe ENTER 

Size programın çıktılarını verecek.

NOT: Yukarıdaki bilgiler ana hatlarıyla compiler'i kurduğunuz directory'deki (C:\borland\bcc55\) readme.txt dosyasinda da bulunmaktadir. 

 

List of letter grades was turned in to department on June 13th.

Your unclaimed  diskettes will be donated to department.

 

Last updated: 25/07/2001 21:37