lect02 Variables.ppt

Lect02 Variables - If You Missed Last Week Go to www.cs.iit.edu/~cs105 Click on Syllabus review lecture 01 notes course schedule Contact your

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

View Full Document Right Arrow Icon
If You Missed Last Week Go to www.cs.iit.edu/~cs105 , Click on Syllabus, review lecture 01 notes, course schedule Contact your TA (email on website) Schedule going over Lab 0 with them AS SOON AS POSSIBLE!!!
Background image of page 1

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

View Full DocumentRight Arrow Icon
Write Pseudocode (Design) Translate Pseudocode into C++ Source Code in Visual C++ Edit Code Compile Link Writing a C++ Program
Background image of page 2
Every Programmer’s Way of Writing Down Steps in Solving a Problem Steps in Creating Pseudocode: Understand the Problem Decide How to Solve the Problem Write the Solution Using a Logical Sequence of Statements Design Issues Apply to almost ANY Vocation What Is Pseudocode?
Background image of page 3

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

View Full DocumentRight Arrow Icon
Writing Source Code Source Code Is the Actual Program Code that Will Run Once Compiled and Linked Pseudo Code Should Be Easily Translated into Source Code
Background image of page 4
C++ Required Elements Every C++ Program Must Have: int main() { }
Background image of page 5

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

View Full DocumentRight Arrow Icon
Preprocessing Preprocessing Is the Actions Taken Before a Source File Is Handed Off to the Compiler Outcome of Preprocessing Must Still Be a Correct Source Code File Example Preprocessing Statement: #include : Includes Text of Other Source Files #include Usually Occur at Top of Program Pound Sign ( # ) Must Be in First Position on Line Example: #include <iostream> for Typical Input and Output Operations in C++
Background image of page 6
Your First Program // Jon Hanrath // CS105 // Section 042 #include <iostream> using namespace std; int main() { cout << “Hello World!!” << endl; }
Background image of page 7

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

View Full DocumentRight Arrow Icon
Compiler Converts Source Code into an Object File or Machine Code Each Change to Source File Requires a Recompilation Compiler Detects Syntax Errors Syntax Error : a Non-Proper, Not Allowable, Sequence of Characters or Words Given a Particular Language
Background image of page 8
Image of page 9
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 03/03/2010.

Page1 / 26

Lect02 Variables - If You Missed Last Week Go to www.cs.iit.edu/~cs105 Click on Syllabus review lecture 01 notes course schedule Contact your

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

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