Lab 01 - Getting to know Pelles C

Lab 01 - Getting to know Pelles C - CIS*1500 Lab #1 Getting...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS*1500 Lab #1 Getting to know Pelles C Last Updated: Sept. 10, 2006. 1 of 18
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Duration: 40 minutes Introduction: In this lab we introduce Pelles C, and present a brief tour of Pelles C in the lab environment. You may wish to print and keep these instructions on hand until you have committed them to memory, as this document describes the initial steps used for every program you will write in this class. STEP1 On the START Menu you'll find Pelles C, or as an icon on the desktop. Click it, and the program will start. 2 of 18
Background image of page 2
STEP 2 This will launch the Pelles C IDE. IDE stands for “Integrated Development Environment.” An IDE is a program that provides the ability to edit, debug, compile and run programs one has created. Under the File Menu Select “New” and then “Project”. You will be presented with the window below: Select “Win32 Console program (EXE)”. Do not select “Win32 Program (EXE)”, this causes problems later in the project. Please note the difference! 3 of 18
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
STEP 3 A project is akin to a file folder--used to store our work. In Pelles C, source code is always stored within a project, and it also serves to keep track of any configuration changes. Next, we enter the name of our project in the “Name:” field. Enter “CIS1500_Lab1”. The “Location:” field tells us where the project is being stored on the lab computer. It is important to always save your work to a USB key and email it to yourself. As soon as you log out, any files you have saved to the local machine will be deleted! Click on the “. ..” button next to the “Location” field. This will allow you to select a location to save the project to. Make a note of this location for later. 4 of 18
Background image of page 4
STEP 4 The Browse for Folder dialog will open, this allows you to select a location on the hard drive. A good place to work is C:\temp , so under “My Computer”, locate “Local Disk (C:)”, and then the “temp” folder. Select the “temp” folder and press “OK”. You will be returned to the “New Project” window, and the location field will be updated to the folder you selected. Press “OK” on this window, and you will be returned to the Pelles C IDE. 5 of 18
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
You'll notice that over on the right, the name of your project appears. STEP 6 Next we create a new source code. A source code is the text document where we write our programs. Select the File Menu, then “New” and then “Source code”, or press “alt-N”.
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 18

Lab 01 - Getting to know Pelles C - CIS*1500 Lab #1 Getting...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online