Programming in C/C++ Lecture 3

Size: px
Start display at page:

Download "Programming in C/C++ Lecture 3"

Transcription

1 Prgramming in C/C++ Lecture 3 Natalia Silvis-Cividjian nsilvis@few.vu.nl vrije Universiteit amsterdam Object Oriented Prgramming in C++ abut bject riented prgramming (OOP) structures in C classes and bjects in C++ separate cmpilatin Prcedural prgramming the prblem is decmpsed in smaller units named prcedures and data can be assembled in packages, called structures. Data and prcedures are separated. C, Pascal, Frtran, Mdula2 are prcedural languages 1

2 Object riented prgramming Nwadays sftware becmes mre cmplex. Prgrams created in prcedural languages are difficult t manage, hard t maintain and expensive t extend. A new way t prgram : bject riented prgramming (OOP) OOP cmbines data and prcedures in ne single unit = bject. abut OOP Object riented prgramming is a tl fr new challenges in sftware develpment - ffers a clser fit t the way human think - imprves cmmunicatin - imprves the quality f sftware Gal : t design high quality sftware at lw cst Imprtant OOP cncepts: encapsulatin data hiding inheritance plymrphism Objects Essence f OOP: Dn t think abut data and functins separately, think abut bjects. Objects are small bundles f data which knw hw t d thing with themselves. Example: Yu can think: A car is a cllectin f wheels, drs, seats, windws. But think what a car can d: mve, speed up, slw dwn, stp, park, etc. Put everything yu knw abut a car in ne bject. Yu dn t say : the cmputer mves the car. Yu say : the car mves itself. 2

3 Examples f bjects a windw : clse, pen, resize, mve a data structure (list, tree): find, remve srt, insert a file: pen,clse, read,write,rename 3D bject: clr,rtate,resize Classes All cars are bjects f the same type. The descriptin f this type is a class: class Car Advantage: clients f yur class can use it withut wrrying abut hw it wrks. C has structures structure Car string name ; int tpspeed ; int capacity ; ; Car my_car, yur_car; // declare 2 variables f type Car my_car.name = Frd ; cut << my_car.name ; structure = class withut actins yur_car.name = Smart" ; yur_car.capacity = 2 ; 3

4 C++ has classes A class is a user-defined type. The variables f this type are bjects. A class can be btained frm a structure if sme member functins are added. Encapsulatin = cmbining a number f items (variables and functins) int a single package such an bject f a class my_ford, yur_mini are OBJECTS f type Vehicle First example with classes #include <istream> using namespace std; class Vehicle public : int weight, capacity; flat tp_speed ; vid printdata() ; ; main() Vehicle my_car ; my_car.printdata(); return 0 ; vid Vehicle::printData() cut << "weight= " << weight << " capacity = " << capacity << " Tp speed= " << tp_speed << endl; Test What is the utput f this prgram? 4

5 Private and public a member (variable r functin) can be private r public a "gd" class keeps its member variables private = data hiding and uses public member functins t access r change each private variable. These public member functins are called accesrs and mutatrs. accesr functin is usually named get***... mutatr functin is usually named set***.. Example: data hiding class Vehicle private: int weight, capacity; flat tpspeed ; public: vid printdata() ; //here are 3 accessr functins int getweight(); int getcapacity(); int gettpspeed(); //and nw the 3 mutatr functins int setweight (int new_weight); int setcapacity (int new_capacity); int settpspeed (flat new_tpspeed); ; Cnstructrs Definitin: A cnstructr is a special member functin autmatically called when an bject is created. Jb: Cnstructrs are used fr bjects initializatin. Rules: the cnstructrs shuld be public a cnstructr must have the same name as the class the cnstructr has n type fr the return value (nt even vid) a class can have mre than 1 cnstructr (verlading) a cnstructr withut arguments is called default cnstructr: Vehicle() if n cnstructr is declared, C++ generates a default cnstructr that des nthing OOP tip: Always include a default cnstructr. 5

6 Destructrs Definitin: A destructr is a special member functin called autmatically when the bject f the class passes ut f scpe (destryed) Jb: a destructr returns memry t the freestre by eliminating all dynamic variables created by the bject. Rules: has the same name as the class but begins with a tilde ~. ~Vehicle () is the destructr f the class Vehicle. has n type fr the value returned, nt even vid. a destructr has n parameters a class can have nly ne destructr OOP tip: always use a destructr if the bject creates dynamic variables Example: cnstructrs & destructrs #include <istream> using namespace std ; class Vehicle private: int weight, capacity; flat tpspeed ; public: vid printdata() ; Vehicle () ; // default cnstructr Vehicle(int new_weight, int new_cap, flat new_tpspeed) ; //anther cnstructr with 3 parameters; ~Vehicle() ; // destructr ; Example: cnstructrs & destructrs vid Vehicle::printdata() cut << "weight= " << weight << " capacity = " << capacity << " tp speed= " << tpspeed << endl ; Vehicle::Vehicle() tpspeed = weight = capacity = 0 ; cut << "Object created " << endl ; Vehicle::Vehicle (int new_weight, int new_cap, flat new_tpspeed) weight = new_weight; capacity = new_cap ; tpspeed = new_tpspeed ; cut << "bject created & initiliazed" << endl ; Vehicle::~Vehicle () cut << "Object destryed"<< endl ; 6

7 Example: cnstructrs & destructrs int main() Vehicle mycar1 ; Vehicle mycar2(10000,4,125) ; mycar1.printdata() ; mycar2.printdata() ; return 0 ; Gives the utput: Object created Object created & initialized weight = 0 capacity = 0 tp speed = 0 weight = capacity = 4 tp speed = 125 Object destryed Object destryed Friend functins Definitin: a friend functin f a class is an rdinary functin which has access t the private members f this class Hw t make a functin friend f a class? list its name in the class definitin by using the keywrd friend Example: friends #include <istream> using namespace std ; cnst int MAX_SIZE = 100; class TemperatureArray private: duble array[max_size]; int size; public: TemperatureArray(); // cnstructr vid add_temperature(duble temperature); bl full() ; friend vid print (cnst TemperatureArray& the_bject); ; 7

8 Example: friends vid print (cnst TemperatureArray& the_bject) fr (int i = 0 ; i < the_bject.size ; i++) cut << the_bject.array[i] << endl ; int main() TemperatureArray my_array ; fr (int i=1 ; i < 10 ; i++) my_array.add_temperature (i) ; print (my_array) ; return 0 ; Example friends TemperatureArray::TemperatureArray() size = 0 ; vid TemperatureArray::add_temperature (duble temperature) if (full() ) cut << "Array is full" << endl ; exit(1) ; else array[size]=temperature ; size = size + 1; bl TemperatureArray::full() return (size==max_size) ; Abstract data types Definitin: a data type is called abstract data type (ADT) if the prgrammer wh uses the type des nt have access t the details f hw the values and functins are implemented Example: C++ predefined types (int, duble, etc) and C++ peratrs. OOP tip: Make sure all the classes yu define are ADT's Hw t make yur class ADT? make all member varibales private separate the specificatin f hw the type is used by a prgrammer (= interface) frm the details f hw the type is implemented (=implementatin) 8

9 Separate cmpilatin A small bject-riented prgram shuld have : an interface file: usually with the extensin xxx.h - a header file that describes the services prvided by the class. an implementatin file: cntains the bdies fr the member functins, usually xxx.cpp an applicatin file, creates and uses bjects f this class, yyy.cpp Rule: Every file using the class must include the apprpriate interface file #include <libclass.h> ; < > fr system interface file, part f standard C++ library #include "myclass.h" ; " " fr immediate interface files, in the same directry as the surce cde Hw t cmpile multiple files? Optin1: Cmpiling by hand: g++ car.cpp wheels.cpp drs.cpp windws.cpp bdy.cpp car.exe Multiple files: gmake Each line in the makefile lks like this: target: which files are necessary [tab] hw t btain the target Optin 2: Use gmake utility gmake reads inf frm a makefile The makefile: car: car. wheels. drs. windws. bdy. g++ car. wheels. drs. windws. bdy. car car.: car.cpp g++ -c Wall car.cpp wheels.: wheels.cpp g++ -c Wall wheels.cpp drs.: drs.cpp g++ -c Wall drs.cpp windws.: windws.cpp g++ -c Wall windws.cpp bdy.: bdy.cpp bdy.h g++ -c Wall bdy.cpp clean: rm f *. 9

10 using #ifndef In rder t avid headers t be included mre than nce, C++ needs sme cnstructin t say : if yu have included this stuff befre, d nt include it again. Use this sequence in the header file: #ifndef STACK_H #define STACK_H...class definitin #endif Example multiple files: stack Prblem: write a class t implement a stack. Use this class in a prgram which reads a wrd as a sequence f letters and types this wrd in reversed rder. Use multiple files and separate cmpilatin. The interface file: stack.h #ifndef STACK_H #define STACK_H struct StackNde char data; StackNde *next ; ; typedef StackNde* StackNdePtr; class Stack private: StackNdePtr tp ; public: Stack() ; ~Stack() ; vid push(char the_symbl); char pp() ; bl empty() ; ; #endif 10

11 Implementatin file: stack.cpp (1/2) #include <istream> #include <cstddef> #include stack.h using namespace std; Stack::Stack() tp = NULL ; Stack::~Stack() char char_crt ; while (!empty()) char_crt = pp() ; //pp calls delete bl Stack::empty() return (tp==null) ; Implementatin file:stack.cpp (2/2) vid Stack::push (char the_symbl) StackNdePtr temp_ptr ; temp_ptr = new StackNde ; temp_ptr->data = the symbl ; temp_ptr->next = tp ; tp = temp_ptr ; char Stack::pp() if (empty ()) cut << Errr: ppping an empty stack.\n"; exit (1) ; char result = tp->data ; StackNdePtr temp_ptr ; temp_ptr = tp ; tp = tp->next ; delete temp_ptr ; return result ; Applicatin prgram: test.cpp #include <istream> #include "stack.h" using namespace std; int main() Stack s ; char next_char, ans ; d cut << "Enter a wrd: "; cin.get (next_char) ; while (next_char!= '\n') s.push(next_char); cin.get(next_char) ; cut << "Written backward is: "; while (!s.empty()) cut << s.pp() ; cut << endl ; cut << "Again?(y/n):" ; cin >> ans ; cin.ignre (10000, '\n'); while (ans!= 'n' && ans!= 'N'); return 0 ; Output: Enter a wrd: bicycle Written backward is: elcycib Again?(y/n): n 11

Programming in C/C Lecture 3

Programming in C/C Lecture 3 Programming in C/C++ 2005- Lecture 3 http://few.vu.nl/~nsilvis/c++/ Natalia Silvis-Cividjian e-mail: nsilvis@few.vu.nl vrije Universiteit amsterdam Object Oriented Programming in C++ about object oriented

More information

Chapter-10 INHERITANCE

Chapter-10 INHERITANCE Chapter-10 INHERITANCE Intrductin: Inheritance is anther imprtant aspect f bject riented prgramming. C++ allws the user t create a new class (derived class) frm an existing class (base class). Inheritance:

More information

Scroll down to New and another menu will appear. Select Folder and a new

Scroll down to New and another menu will appear. Select Folder and a new Creating a New Flder Befre we begin with Micrsft Wrd, create a flder n yur Desktp named Summer PD. T d this, right click anywhere n yur Desktp and a menu will appear. Scrll dwn t New and anther menu will

More information

Common Language Runtime

Common Language Runtime Intrductin t.net framewrk.net is a general-purpse sftware develpment platfrm, similar t Java. Micrsft intrduced.net with purpse f bridging gap between different applicatins..net framewrk aims at cmbining

More information

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C

LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C LAB 7 (June 29/July 4) Structures, Stream I/O, Self-referential structures (Linked list) in C Due: July 9 (Sun) 11:59 pm 1. Prblem A Subject: Structure declaratin, initializatin and assignment. Structure

More information

Lab 4. Name: Checked: Objectives:

Lab 4. Name: Checked: Objectives: Lab 4 Name: Checked: Objectives: Learn hw t test cde snippets interactively. Learn abut the Java API Practice using Randm, Math, and String methds and assrted ther methds frm the Java API Part A. Use jgrasp

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2012 Lab 1 - Calculatr Intrductin In this lab yu will be writing yur first

More information

History of Java. VM (Java Virtual Machine) What is JVM. What it does. 1. Brief history of Java 2. Java Version History

History of Java. VM (Java Virtual Machine) What is JVM. What it does. 1. Brief history of Java 2. Java Version History Histry f Java 1. Brief histry f Java 2. Java Versin Histry The histry f Java is very interesting. Java was riginally designed fr interactive televisin, but it was t advanced technlgy fr the digital cable

More information

CS5530 Mobile/Wireless Systems Swift

CS5530 Mobile/Wireless Systems Swift Mbile/Wireless Systems Swift Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs cat annunce.txt_ imacs remte VNC access VNP: http://www.uccs.edu/itservices/services/netwrk-andinternet/vpn.html

More information

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as:

Relational Operators, and the If Statement. 9.1 Combined Assignments. Relational Operators (4.1) Last time we discovered combined assignments such as: Relatinal Operatrs, and the If Statement 9/18/06 CS150 Intrductin t Cmputer Science 1 1 9.1 Cmbined Assignments Last time we discvered cmbined assignments such as: a /= b + c; Which f the fllwing lng frms

More information

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash UiPath Autmatin Walkthrugh Walkthrugh Calculate Client Security Hash Walkthrugh Calculate Client Security Hash Start with the REFramewrk template. We start ff with a simple implementatin t demnstrate the

More information

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout

Lab 1 - Calculator. K&R All of Chapter 1, 7.4, and Appendix B1.2 Iterative Code Design handout Style Guidelines handout UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2013 Lab 1 - Calculatr Intrductin Reading Cncepts In this lab yu will be

More information

COP2800 Homework #3 Assignment Spring 2013

COP2800 Homework #3 Assignment Spring 2013 YOUR NAME: DATE: LAST FOUR DIGITS OF YOUR UF-ID: Please Print Clearly (Blck Letters) YOUR PARTNER S NAME: DATE: LAST FOUR DIGITS OF PARTNER S UF-ID: Please Print Clearly Date Assigned: 15 February 2013

More information

What s New in Banner 9 Admin Pages: Differences from Banner 8 INB Forms

What s New in Banner 9 Admin Pages: Differences from Banner 8 INB Forms 1 What s New in Banner 9 Admin Pages: Differences frm Banner 8 INB Frms Majr Changes: Banner gt a face-lift! Yur hme page is called Applicatin Navigatr and is the entry/launch pint t all pages Banner is

More information

Assignment #5: Rootkit. ECE 650 Fall 2018

Assignment #5: Rootkit. ECE 650 Fall 2018 General Instructins Assignment #5: Rtkit ECE 650 Fall 2018 See curse site fr due date Updated 4/10/2018, changes nted in green 1. Yu will wrk individually n this assignment. 2. The cde fr this assignment

More information

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash

UiPath Automation. Walkthrough. Walkthrough Calculate Client Security Hash UiPath Autmatin Walkthrugh Walkthrugh Calculate Client Security Hash Walkthrugh Calculate Client Security Hash Start with the REFramewrk template. We start ff with a simple implementatin t demnstrate the

More information

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions

Eastern Mediterranean University School of Computing and Technology Information Technology Lecture2 Functions Eastern Mediterranean University Schl f Cmputing and Technlgy Infrmatin Technlgy Lecture2 Functins User Defined Functins Why d we need functins? T make yur prgram readable and rganized T reduce repeated

More information

MyUni Adding Content. Date: 29 May 2014 TRIM Reference: D2013/ Version: 1

MyUni Adding Content. Date: 29 May 2014 TRIM Reference: D2013/ Version: 1 Adding Cntent MyUni... 2 Cntent Areas... 2 Curse Design... 2 Sample Curse Design... 2 Build cntent by creating a flder... 3 Build cntent by creating an item... 4 Cpy r mve cntent in MyUni... 5 Manage files

More information

Laboratory #13: Trigger

Laboratory #13: Trigger Schl f Infrmatin and Cmputer Technlgy Sirindhrn Internatinal Institute f Technlgy Thammasat University ITS351 Database Prgramming Labratry Labratry #13: Trigger Objective: - T learn build in trigger in

More information

Renewal Reminder. User Guide. Copyright 2009 Data Springs Inc. All rights reserved.

Renewal Reminder. User Guide. Copyright 2009 Data Springs Inc. All rights reserved. Renewal Reminder User Guide Cpyright 2009 Data Springs Inc. All rights reserved. Renewal Reminder 2.5 User Guide Table f cntents: 1 INTRODUCTION...3 2 INSTALLATION PROCEDURE...4 3 ADDING RENEWAL REMINDER

More information

Ascii Art Capstone project in C

Ascii Art Capstone project in C Ascii Art Capstne prject in C CSSE 120 Intrductin t Sftware Develpment (Rbtics) Spring 2010-2011 Hw t begin the Ascii Art prject Page 1 Prceed as fllws, in the rder listed. 1. If yu have nt dne s already,

More information

These tasks can now be performed by a special program called FTP clients.

These tasks can now be performed by a special program called FTP clients. FTP Cmmander FAQ: Intrductin FTP (File Transfer Prtcl) was first used in Unix systems a lng time ag t cpy and mve shared files. With the develpment f the Internet, FTP became widely used t uplad and dwnlad

More information

6 Ways to Streamline Your Tasks in Outlook

6 Ways to Streamline Your Tasks in Outlook 6 Ways t Streamline Yur Tasks in Outlk Every jb requires a variety f tasks during a given day. Maybe yurs includes meeting with clients, preparing a presentatin, r cllabrating with team members n an imprtant

More information

1on1 Sales Manager Tool. User Guide

1on1 Sales Manager Tool. User Guide 1n1 Sales Manager Tl User Guide Table f Cntents Install r Upgrade 1n1 Page 2 Setting up Security fr Dynamic Reprting Page 3 Installing ERA-IGNITE Page 4 Cnverting (Imprting) Queries int Dynamic Reprting

More information

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55.

McGill University School of Computer Science COMP-206. Software Systems. Due: September 29, 2008 on WEB CT at 23:55. Schl f Cmputer Science McGill University Schl f Cmputer Science COMP-206 Sftware Systems Due: September 29, 2008 n WEB CT at 23:55 Operating Systems This assignment explres the Unix perating system and

More information

Chapter 3 Stack. Books: ISRD Group New Delhi Data structure Using C

Chapter 3 Stack. Books: ISRD Group New Delhi Data structure Using C C302.3 Develp prgrams using cncept f stack. Bks: ISRD Grup New Delhi Data structure Using C Tata McGraw Hill What is Stack Data Structure? Stack is an abstract data type with a bunded(predefined) capacity.

More information

CS1150 Principles of Computer Science Methods

CS1150 Principles of Computer Science Methods CS1150 Principles f Cmputer Science Methds Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang CS1150 UC. Clrad Springs Opening Prblem Find the sum f integers frm 1 t 10, frm 20

More information

Municode Website Instructions

Municode Website Instructions Municde Website instructins Municde Website Instructins The new and imprved Municde site allws yu t navigate t, print, save, e-mail and link t desired sectins f the Online Cde f Ordinances with greater

More information

One reason for controlling access to an object is to defer the full cost of its creation and initialization until we actually need to use it.

One reason for controlling access to an object is to defer the full cost of its creation and initialization until we actually need to use it. Prxy 1 Intent Prvide a surrgate r placehlder fr anther bject t cntrl access t it. Als Knwn As Surrgate Mtivatin One reasn fr cntrlling access t an bject is t defer the full cst f its creatin and initializatin

More information

Data Structure Interview Questions

Data Structure Interview Questions Data Structure Interview Questins A list f tp frequently asked Data Structure interview questins and answers are given belw. 1) What is Data Structure? Explain. Data structure is a way that specifies hw

More information

Programming Project: Building a Web Server

Programming Project: Building a Web Server Prgramming Prject: Building a Web Server Submissin Instructin: Grup prject Submit yur cde thrugh Bb by Dec. 8, 2014 11:59 PM. Yu need t generate a simple index.html page displaying all yur grup members

More information

TRAINING GUIDE. Overview of Lucity Spatial

TRAINING GUIDE. Overview of Lucity Spatial TRAINING GUIDE Overview f Lucity Spatial Overview f Lucity Spatial In this sessin, we ll cver the key cmpnents f Lucity Spatial. Table f Cntents Lucity Spatial... 2 Requirements... 2 Setup... 3 Assign

More information

Outlook Web Application (OWA) Basic Training

Outlook Web Application (OWA) Basic Training Outlk Web Applicatin (OWA) Basic Training Requirements t use OWA Full Versin: Yu must use at least versin 7 f Internet Explrer, Safari n Mac, and Firefx 3.X. (Ggle Chrme r Internet Explrer versin 6, yu

More information

Project 3 Specification FAT32 File System Utility

Project 3 Specification FAT32 File System Utility Prject 3 Specificatin FAT32 File System Utility Assigned: Octber 30, 2015 Due: Nvember 30, 11:59 pm, 2015 Yu can use the reminder f the slack days. -10 late penalty fr each 24-hur perid after the due time.

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Cmp 541 Digital Lgic and Cmputer Design Spring 2016 Lab Prject (PART A): A Full Cmputer! Issued Fri 4/8/16; Suggested

More information

Project 4: System Calls 1

Project 4: System Calls 1 CMPT 300 1. Preparatin Prject 4: System Calls 1 T cmplete this assignment, it is vital that yu have carefully cmpleted and understd the cntent in the fllwing guides which are psted n the curse website:

More information

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files.

Interfacing to MATLAB. You can download the interface developed in this tutorial. It exists as a collection of 3 MATLAB files. Interfacing t MATLAB Overview: Getting Started Basic Tutrial Interfacing with OCX Installatin GUI with MATLAB's GUIDE First Buttn & Image Mre ActiveX Cntrls Exting the GUI Advanced Tutrial MATLAB Cntrls

More information

SITEDIARY.org. User Manual PLANIUM Oy

SITEDIARY.org. User Manual PLANIUM Oy SITEDIARY.rg User Manual Cntents 1. General... 3 1.1 Rles... 3 2 Lgin t the system... 4 3 Prject selectin... 4 4 Start page... 5 5 Diary... 6 5.1 Weather... 6 5.2 General Fields... 7 5.3 Wrks... 7 5.4

More information

WebEx Web Conferencing Quick Start Guide

WebEx Web Conferencing Quick Start Guide WebEx Web Cnferencing Quick Start Guide WebEx allws the curse instructr and participants t cnnect using web cnferencing and VIP using yur cmputer r smart device. WebEx's allws yu t share cntent, chat,

More information

THE ALGOL FAMILY AND ML

THE ALGOL FAMILY AND ML THE ALGOL FAMILY AND ML Lisp Algl 60 Algl 68 Pascal ML Mdula Haskell Many ther languages: Algl 58, Algl W, Euclid, EL1, Mesa (PARC), Mdula-2, Obern, Mdula-3 (DEC) ! Basic Language f 1960! Simple imperative

More information

August 22, 2006 IPRO Tech Client Services Tip of the Day. Concordance and IPRO Camera Button / Backwards DB Link Setup

August 22, 2006 IPRO Tech Client Services Tip of the Day. Concordance and IPRO Camera Button / Backwards DB Link Setup Cncrdance and IPRO Camera Buttn / Backwards DB Link Setup When linking Cncrdance and IPRO, yu will need t update the DDEIVIEW.CPL file t establish the camera buttn. Setting up the camera buttn feature

More information

AngularJS. Unit Testing AngularJS Directives with Karma & Jasmine

AngularJS. Unit Testing AngularJS Directives with Karma & Jasmine AngularJS Unit Testing AngularJS Directives with Karma & Jasmine Directives Directives are different frm ther cmpnents they aren t used as bjects in the JavaScript cde They are used in HTML templates f

More information

Create Your Own Report Connector

Create Your Own Report Connector Create Yur Own Reprt Cnnectr Last Updated: 15-December-2009. The URS Installatin Guide dcuments hw t cmpile yur wn URS Reprt Cnnectr. This dcument prvides a guide t what yu need t create in yur cnnectr

More information

The Login Page Designer

The Login Page Designer The Lgin Page Designer A new Lgin Page tab is nw available when yu g t Site Cnfiguratin. The purpse f the Admin Lgin Page is t give fundatin staff the pprtunity t build a custm, yet simple, layut fr their

More information

Sometimes it's necessary to issue requests to objects without knowing anything about the operation being requested or the receiver of the request.

Sometimes it's necessary to issue requests to objects without knowing anything about the operation being requested or the receiver of the request. Cmmand 1 Intent Encapsulate a request as an bject, thereby letting yu parameterize clients with different requests, queue r lg requests, and supprt undable peratins. Als Knwn As Actin, Transactin Mtivatin

More information

CSE 361S Intro to Systems Software Lab #2

CSE 361S Intro to Systems Software Lab #2 Due: Thursday, September 22, 2011 CSE 361S Intr t Systems Sftware Lab #2 Intrductin This lab will intrduce yu t the GNU tls in the Linux prgramming envirnment we will be using fr CSE 361S this semester,

More information

MOS Access 2013 Quick Reference

MOS Access 2013 Quick Reference MOS Access 2013 Quick Reference Exam 77-424: MOS Access 2013 Objectives http://www.micrsft.cm/learning/en-us/exam.aspx?id=77-424 Create and Manage a Database Create a New Database This bjective may include

More information

DECISION CONTROL CONSTRUCTS IN JAVA

DECISION CONTROL CONSTRUCTS IN JAVA DECISION CONTROL CONSTRUCTS IN JAVA Decisin cntrl statements can change the executin flw f a prgram. Decisin cntrl statements in Java are: if statement Cnditinal peratr switch statement If statement The

More information

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL

The UNIVERSITY of NORTH CAROLINA at CHAPEL HILL Yu will learn the fllwing in this lab: The UNIVERSITY f NORTH CAROLINA at CHAPEL HILL Designing a mdule with multiple memries Designing and using a bitmap fnt Designing a memry-mapped display Cmp 541 Digital

More information

UML : MODELS, VIEWS, AND DIAGRAMS

UML : MODELS, VIEWS, AND DIAGRAMS UML : MODELS, VIEWS, AND DIAGRAMS Purpse and Target Grup f a Mdel In real life we ften bserve that the results f cumbersme, tedius, and expensive mdeling simply disappear in a stack f paper n smene's desk.

More information

INSTALLING CCRQINVOICE

INSTALLING CCRQINVOICE INSTALLING CCRQINVOICE Thank yu fr selecting CCRQInvice. This dcument prvides a quick review f hw t install CCRQInvice. Detailed instructins can be fund in the prgram manual. While this may seem like a

More information

Marian Online 2 Instructor Manual 12

Marian Online 2 Instructor Manual 12 Marian Online 2 Instructr Manual 12 Glssary At first glance, the Glssary activity seems t be just a list f wrds and definitins that students can view. In fact, the Glssary activity is a pwerful tl fr activ

More information

Faculty Textbook Adoption Instructions

Faculty Textbook Adoption Instructions Faculty Textbk Adptin Instructins The Bkstre has partnered with MBS Direct t prvide textbks t ur students. This partnership ffers ur students and parents mre chices while saving them mney, including ptins

More information

Populate and Extract Data from Your Database

Populate and Extract Data from Your Database Ppulate and Extract Data frm Yur Database 1. Overview In this lab, yu will: 1. Check/revise yur data mdel and/r marketing material (hme page cntent) frm last week's lab. Yu will wrk with tw classmates

More information

BANNER BASICS. What is Banner? Banner Environment. My Banner. Pages. What is it? What form do you use? Steps to create a personal menu

BANNER BASICS. What is Banner? Banner Environment. My Banner. Pages. What is it? What form do you use? Steps to create a personal menu BANNER BASICS What is Banner? Definitin Prduct Mdules Self-Service-Fish R Net Lg int Banner Banner Envirnment The Main Windw My Banner Pages What is it? What frm d yu use? Steps t create a persnal menu

More information

Getting Started with DocuSign

Getting Started with DocuSign Getting Started with DcuSign DcuSign is the electrnic system used t rute, apprve, and execute cnstructin related dcuments at The University f Alabama. While these basic instructins are intended t help

More information

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar

Word 2007 The Ribbon, the Mini toolbar, and the Quick Access Toolbar Wrd 2007 The Ribbn, the Mini tlbar, and the Quick Access Tlbar In this practice yu'll get the hang f using the new Ribbn, and yu'll als master the use f the helpful cmpanin tls, the Mini tlbar and the

More information

You may receive a total of two GSA graduate student grants in your entire academic career, regardless of what program you are currently enrolled in.

You may receive a total of two GSA graduate student grants in your entire academic career, regardless of what program you are currently enrolled in. GSA Research Grant Applicatin GUIDELINES & INSTRUCTIONS GENERAL INFORMATION T apply fr this grant, yu must be a GSA student member wh has renewed r is active thrugh the end f the award year (which is the

More information

Course 10262A: Developing Windows Applications with Microsoft Visual Studio 2010 OVERVIEW

Course 10262A: Developing Windows Applications with Microsoft Visual Studio 2010 OVERVIEW Curse 10262A: Develping Windws Applicatins with Micrsft Visual Studi 2010 OVERVIEW Abut this Curse In this curse, experienced develpers wh knw the basics f Windws Frms develpment gain mre advanced Windws

More information

Preparation: Follow the instructions on the course website to install Java JDK and jgrasp on your laptop.

Preparation: Follow the instructions on the course website to install Java JDK and jgrasp on your laptop. Lab 1 Name: Checked: (instructr r TA initials) Objectives: Learn abut jgrasp - the prgramming envirnment that we will be using (IDE) Cmpile and run a Java prgram Understand the relatinship between a Java

More information

Integrating QuickBooks with TimePro

Integrating QuickBooks with TimePro Integrating QuickBks with TimePr With TimePr s QuickBks Integratin Mdule, yu can imprt and exprt data between TimePr and QuickBks. Imprting Data frm QuickBks The TimePr QuickBks Imprt Facility allws data

More information

University Facilities

University Facilities 1 University Facilities WebTMA Requestr Training Manual WebTMA is Drexel University s nline wrk rder management system. The fllwing instructins will walk yu thrugh the steps n hw t: 1. Submit a wrk request

More information

Class Roster. Curriculum Class Roster Step-By-Step Procedure

Class Roster. Curriculum Class Roster Step-By-Step Procedure Imprtant Infrmatin The page prvides faculty and staff a list f students wh are enrlled and waitlisted in a particular class. Instructrs are given access t each class fr which they are listed as an instructr,

More information

Lab 0: Compiling, Running, and Debugging

Lab 0: Compiling, Running, and Debugging UNIVERSITY OF CALIFORNIA, SANTA CRUZ BOARD OF STUDIES IN COMPUTER ENGINEERING CMPE13/L: INTRODUCTION TO PROGRAMMING IN C SPRING 2012 Lab 0: Cmpiling, Running, and Debugging Intrductin Reading This is the

More information

Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use.

Provide a unified interface to a set of interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier to use. Facade 1 Intent Prvide a unified interface t a set f interfaces in a subsystem. Facade defines a higher-level interface that makes the subsystem easier t use. Mtivatin Applicability Use the Facade pattern

More information

Using SPLAY Tree s for state-full packet classification

Using SPLAY Tree s for state-full packet classification Curse Prject Using SPLAY Tree s fr state-full packet classificatin 1- What is a Splay Tree? These ntes discuss the splay tree, a frm f self-adjusting search tree in which the amrtized time fr an access,

More information

Kaltura MediaSpace TM Enterprise 2.0 Requirements and Installation

Kaltura MediaSpace TM Enterprise 2.0 Requirements and Installation Kaltura MediaSpace TM Enterprise 2.0 Requirements and Installatin Updated Aug 30, 2011 Server Requirements Hardware The hardware requirements are mstly dependent n the number f cncurrent users yu expect

More information

Gmail and Google Drive for Rutherford County Master Gardeners

Gmail and Google Drive for Rutherford County Master Gardeners Gmail and Ggle Drive fr Rutherfrd Cunty Master Gardeners Gmail Create a Ggle Gmail accunt. https://www.yutube.cm/watch?v=kxbii2dprmc&t=76s (Hw t Create a Gmail Accunt 2014 by Ansn Alexander is a great

More information

C++ Reference Material Programming Style Conventions

C++ Reference Material Programming Style Conventions C++ Reference Material Prgramming Style Cnventins What fllws here is a set f reasnably widely used C++ prgramming style cnventins. Whenever yu mve int a new prgramming envirnment, any cnventins yu have

More information

Enabling Your Personal Web Page on the SacLink

Enabling Your Personal Web Page on the SacLink 53 Enabling Yur Persnal Web Page n the SacLink *Yu need t enable yur persnal web page nly ONCE. It will be available t yu until yu graduate frm CSUS. T enable yur Persnal Web Page, fllw the steps given

More information

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page

Proper Document Usage and Document Distribution. TIP! How to Use the Guide. Managing the News Page Managing the News Page TABLE OF CONTENTS: The News Page Key Infrmatin Area fr Members... 2 Newsletter Articles... 3 Adding Newsletter as Individual Articles... 3 Adding a Newsletter Created Externally...

More information

A solution for automating desktop applications with Java skill set

A solution for automating desktop applications with Java skill set A slutin fr autmating desktp applicatins with Java skill set Veerla Shilpa (Senir Sftware Engineer- Testing) Mysre Narasimha Raju, Pratap (Test Autmatin Architect) Abstract LeanFT is a pwerful and lightweight

More information

Computational Methods of Scientific Programming Fall 2008

Computational Methods of Scientific Programming Fall 2008 MIT OpenCurseWare http://cw.mit.edu 12.010 Cmputatinal Methds f Scientific Prgramming Fall 2008 Fr infrmatin abut citing these materials r ur Terms f Use, visit: http://cw.mit.edu/terms. 12.010 Hmewrk

More information

Element Creator for Enterprise Architect

Element Creator for Enterprise Architect Element Creatr User Guide Element Creatr fr Enterprise Architect Element Creatr fr Enterprise Architect... 1 Disclaimer... 2 Dependencies... 2 Overview... 2 Limitatins... 3 Installatin... 4 Verifying the

More information

Developing Java Web Services. Duration: 5 days

Developing Java Web Services. Duration: 5 days QWERTYUIOP{ Develping Java Web Services Duratin: 5 days The Develping Java Web Services training class prepares Java prgrammers t develp interperable Java Web services and using SOAP, WSDL, and XML Schema.

More information

Type: System Enhancements ID Number: SE 93. Subject: Changes to Employee Address Screens. Date: June 29, 2012

Type: System Enhancements ID Number: SE 93. Subject: Changes to Employee Address Screens. Date: June 29, 2012 Type: System Enhancements ID Number: SE 93 Date: June 29, 2012 Subject: Changes t Emplyee Address Screens Suggested Audience: Human Resurce Offices Details: On July 14, 2012, Peple First will implement

More information

Procurement Contract Portal. User Guide

Procurement Contract Portal. User Guide Prcurement Cntract Prtal User Guide Cntents Intrductin...2 Access the Prtal...2 Hme Page...2 End User My Cntracts...2 Buttns, Icns, and the Actin Bar...3 Create a New Cntract Request...5 Requester Infrmatin...5

More information

Information about the ACC Education App Featuring ACCSAP 9

Information about the ACC Education App Featuring ACCSAP 9 Infrmatin abut the ACC Educatin App Featuring ACCSAP 9 Key Features: This app is designed t be a study tl fr select educatinal prducts. It des nt include all features and functinality f the nline prtin

More information

CS1150 Principles of Computer Science Introduction (Part II)

CS1150 Principles of Computer Science Introduction (Part II) Principles f Cmputer Science Intrductin (Part II) Yanyan Zhuang Department f Cmputer Science http://www.cs.uccs.edu/~yzhuang UC. Clrad Springs Review Terminlgy Class } Every Java prgram must have at least

More information

Entering an NSERC CCV: Step by Step

Entering an NSERC CCV: Step by Step Entering an NSERC CCV: Step by Step - 2018 G t CCV Lgin Page Nte that usernames and passwrds frm ther NSERC sites wn t wrk n the CCV site. If this is yur first CCV, yu ll need t register: Click n Lgin,

More information

The following screens show some of the extra features provided by the Extended Order Entry screen:

The following screens show some of the extra features provided by the Extended Order Entry screen: SmartFinder Orders Extended Order Entry Extended Order Entry is an enhanced replacement fr the Sage Order Entry screen. It prvides yu with mre functinality while entering an rder, and fast access t rder,

More information

How to use DCI Contract Alerts

How to use DCI Contract Alerts Hw t use DCI Cntract Alerts Welcme t the MyDCI Help Guide series Hw t use DCI Cntract Alerts In here, yu will find a lt f useful infrmatin abut hw t make the mst f yur DCI Alerts which will help yu t fully

More information

Profiling & Debugging

Profiling & Debugging Prfiling & Debugging CISC 879 Tristan Vanderbruggen & Jhn Cavazs Dept f Cmputer & Infrmatin Sciences University f Delaware 1 Lecture Overview Prfiling and Debugging Why? Tls Data sets Race Cnditin and

More information

Avaya 9610 IP Telephone End User Guide

Avaya 9610 IP Telephone End User Guide Avaya 9610 IP Telephne End User Guide 9610 IP Telephne End User Guide 1 P age Table f Cntents Abut Yur Telephne... 3 Abut Scrlling and Navigatin... 3 Selecting Names, Numbers, r Features... 3 Starting

More information

Uploading Your Catalogue

Uploading Your Catalogue Uplading Yur Catalgue Creating a Catalgue A simple timed auctin catalgue shuld cntain fur kinds f infrmatin: Lt Number Descriptin Start Price Reserve The best way t frmat yur catalgue is t use Micrsft

More information

CLIC ADMIN USER S GUIDE

CLIC ADMIN USER S GUIDE With CLiC (Classrm In Cntext), teaching and classrm instructin becmes interactive, persnalized, and fcused. This digital-based curriculum, designed by Gale, is flexible allwing teachers t make their classrm

More information

Cookies: enable, disable or delete cookies

Cookies: enable, disable or delete cookies Ckies: enable, disable r delete ckies The prcedure fr enabling r disabling ckies and deleting them differs depending n yur device and Internet brwser: D yu surf n a cmputer? Enable r disable yur ckies

More information

Reviewer Information Sheet for Committee Members

Reviewer Information Sheet for Committee Members Reviewer Infrmatin Sheet fr Cmmittee Members OSIRIS is a web-based applicatin that was created t imprve human subject prtectins and t enable the IRB t better serve the research cmmunity. The applicatin

More information

OpenSceneGraph Tutorial

OpenSceneGraph Tutorial OpenSceneGraph Tutrial Michael Kriegel & Meiyii Lim, Herit-Watt University, Edinburgh February 2009 Abut Open Scene Graph: Open Scene Graph is a mdern pen surce scene Graph. Open Scene Graph (r shrt OSG)

More information

Web of Science Institutional authored and cited papers

Web of Science Institutional authored and cited papers Web f Science Institutinal authred and cited papers Prcedures written by Diane Carrll Washingtn State University Libraries December, 2007, updated Nvember 2009 Annual review f paper s authred and cited

More information

Adobe InDesign: The Knowledge

Adobe InDesign: The Knowledge Adbe InDesign: The Knwledge Linda Trst Washingtn & Jeffersn Cllege Hints 1. Plan/design yur dcument s layut befre yu start placing text. 2. The first time yu call up Adbe InDesign CS, even befre yu pen

More information

Element Creator for Enterprise Architect

Element Creator for Enterprise Architect Element Creatr User Guide Element Creatr fr Enterprise Architect Element Creatr fr Enterprise Architect... 1 Disclaimer... 2 Dependencies... 2 Overview... 2 Limitatins... 3 Installatin... 4 Verifying the

More information

Messing with SQL in Dataflex What is available in Dataflex 19.0 o cconnection.pkg

Messing with SQL in Dataflex What is available in Dataflex 19.0 o cconnection.pkg Messing with SQL in Dataflex What is available in Dataflex 19.0 ccnnectin.pkg Lts f useful stuff in there. Will take sme time t srt. DataDict.pkg Sme calls in the dd fr SQL It has a helper class. Des a

More information

FIT 100. Lab 10: Creating the What s Your Sign, Dude? Application Spring 2002

FIT 100. Lab 10: Creating the What s Your Sign, Dude? Application Spring 2002 FIT 100 Lab 10: Creating the What s Yur Sign, Dude? Applicatin Spring 2002 1. Creating the Interface fr SignFinder:... 1 2. Creating Variables t hld values... 4 3. Assigning Values t Variables... 4 4.

More information

Second Assignment Tutorial lecture

Second Assignment Tutorial lecture Secnd Assignment Tutrial lecture INF5040 (Open Distributed Systems) Faraz German (farazg@ulrik.ui.n) Department f Infrmatics University f Osl Octber 17, 2016 Grup Cmmunicatin System Services prvided by

More information

EASTERN ARIZONA COLLEGE Java Programming I

EASTERN ARIZONA COLLEGE Java Programming I EASTERN ARIZONA COLLEGE Java Prgramming I Curse Design 2011-2012 Curse Infrmatin Divisin Business Curse Number CMP 126 Title Java Prgramming I Credits 3 Develped by Jeff Baer Lecture/Lab Rati 2 Lecture/2

More information

Life Cycle Objectives (LCO) CSE 403, Spring 2006, Alverson

Life Cycle Objectives (LCO) CSE 403, Spring 2006, Alverson Life Cycle Objectives (LCO) CSE 403, Spring 2006, Alversn Readings Anchring the Sftware Prcess, Barry Behm, USC CSE 403, Spring 2006, Alversn Outline Life Cycle Objectives Assignment 1 LCO review fr yur

More information

- Replacement of a single statement with a sequence of statements(promotes regularity)

- Replacement of a single statement with a sequence of statements(promotes regularity) ALGOL - Java and C built using ALGOL 60 - Simple and cncise and elegance - Universal - Clse as pssible t mathematical ntatin - Language can describe the algrithms - Mechanically translatable t machine

More information

Managing Your Access To The Open Banking Directory How To Guide

Managing Your Access To The Open Banking Directory How To Guide Managing Yur Access T The Open Banking Directry Hw T Guide Date: June 2018 Versin: v2.0 Classificatin: PUBLIC OPEN BANKING LIMITED 2018 Page 1 f 32 Cntents 1. Intrductin 3 2. Signing Up 4 3. Lgging In

More information

Using CppSim to Generate Neural Network Modules in Simulink using the simulink_neural_net_gen command

Using CppSim to Generate Neural Network Modules in Simulink using the simulink_neural_net_gen command Using CppSim t Generate Neural Netwrk Mdules in Simulink using the simulink_neural_net_gen cmmand Michael H. Perrtt http://www.cppsim.cm June 24, 2008 Cpyright 2008 by Michael H. Perrtt All rights reserved.

More information