Intro - Program Development Cycle 1. Edit program 2....

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

View Full Document Right Arrow Icon
Program Development Cycle 1. Edit program 2. Compile program - translates it from C to machine language 3. Run/execute your program. 4. If not satisfied, go back to #1.
Background image of page 1

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

View Full DocumentRight Arrow Icon
/* Arup Guha My First C Program 8/23/07 COP 3223 Rocks! */ #include <stdio.h> int main(void) { printf(“COP 3223 Rocks!\n”); return 0; } My First C Program
Background image of page 2
Purpose of Comments To tell the reader basic information about the program Who wrote it When they wrote it What it does Any other useful information about it Inside code, they inform the reader about the specific function of a group of statements.
Background image of page 3

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

View Full DocumentRight Arrow Icon
#includes Tells the compiler that you may be using prewritten C functions for a particular library. We will always use stdio.h – it allows us to do standard input and output. When you call a function for a C library, it will look to all of the libraries you have included to find out HOW to run the function.
Background image of page 4
Function main The only code directly executed is the code inside of main The beginning and ending are delineated
Background image of page 5

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

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 10/25/2010 for the course COMPUTER S COP3223 taught by Professor Lobo during the Spring '10 term at University of Central Florida.

Page1 / 11

Intro - Program Development Cycle 1. Edit program 2....

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

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