Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more.
Course Hero has millions of course specific materials providing students with the best way to expand
their education.
Below is a small sample set of documents:
CUNY Baruch - CIS - 15
cis15 advanced programming techniques, using c+ summer 2008 lecture # II.2 topics: ctors and dtors polymorphism and overloading friend classes, composition and derivation resources: Pohl, chapter 5 (mostly sections 5.1-5.3, 5.7, 5.10)ctors and
CUNY Baruch - CIS - 15
cis15 advanced programming techniques, using c+ spring 2008 lecture # VII.1 topics: generic programming templates STL (standard template library) on-line reference: http:/www.cppreference.com/index.htmlgeneric programming methodology for enhan
CUNY Baruch - CIS - 15
cis15 advanced programming techniques, using c+ summer 2008 lecture # I.1 introduction topics: (0) introduction to the course (1) to do (2) review of c+ instructor: Arif Tuna Ozgelen, ozgelen@sci.brooklyn.cuny.edu course web page: http:/www.sci.bro
CUNY Baruch - CIS - 15
cis15 advanced programming techniques, using c+ summer 2008 lecture # IV.1 topics: inheritance composition of classes resources: Pohl, chapters 8 and 11an example consider the program patrol.cpp (posted on the class web page) this program mode
CUNY Baruch - CIS - 15
cis15-summer2008-ozgelen, assignment I, part 3 (optional)instructions This is an optional third part of the assignment for unit I. This part is worth 1 point of extra credit and can be submitted along with parts 1 and 2.1. enumerated data types
CUNY Baruch - CIS - 1
cis1.5-fall2008-ozgelen, lab Vinstructions This lab must be submitted by email (as below): 1. Create a mail message addressed to ozgelen@sci.brooklyn.cuny.edu with the subject line cis1.5. 2. Attach ONLY the .cpp files for each part, as outlined be
CUNY Baruch - CIS - 1
today: math operations and function arguments random numbers math operators data type conversion function arguments file operationsrandom numbers computers can generate "random" numbers, which is like picking a number by rolling dice there a
CUNY Baruch - CIS - 1
today: sorting algorithms blort sort selection sort insertion sort bubble sortsorting sorting is one of the classic tasks done in computer programming the basic idea with sorting is to rearrange the elements in an array so that they are in a
CUNY Baruch - CIS - 1
cis1.5-fall2008-ozgelen, lab II, part 2instructions This part of the lab is worth 5 points. Both parts must be submitted by email (as below): 1. Create a mail message addressed to ozgelen@sci.brooklyn.cuny.edu with the subject line cis1.5. 2. Atta
CUNY Baruch - CIS - 1
cis1.5 introduction to computing using c+ (legal applications) fall 2008 lecture # I.1 introductionintroduction to the course about this course introduction to computer programming using the C+ language uses legal applications as a context (i.e.
CUNY Baruch - CIS - 1
today: new topics: two-dimensional arrays switch statement review topics: constants string functions (see lecture IV.2 and textbook chapter 8) cctype functions (see lecture IV.2 and textbook chapter 8) In class, we followed a comprehensive ex
CUNY Baruch - CIS - 1
today: logical operations and control structures the if statement relational operators logical operators truth tables loops: the while and for statementsthe if branching statement we have already been using the if statement: void decreaseRais
CUNY Baruch - CIS - 1
today: strings what are strings and why to use them reading: textbook chapter 8what are strings a string in C+ is one of a special kind of data type called a class we will talk more about classes in detail at the end of the term but note that
CUNY Baruch - CIS - 15
cis15 advanced programming techniques, using c+ summer 2008 lecture # I.2 topics: unix fundamentalswhat is UNIX? Unix is an operating system (like Windows). OS? - A program that coordinates and oversees the resources of a computer and provides a
CUNY Baruch - CIS - 15
cis15 advanced programming techniques, using c+ summer 2008 lecture # III.1 topics: C-style strings input and output resources: Pohl, chapter 9C-style strings (1). storing multiple characters in a single variable data type is still char BUT i
CUNY Baruch - CIS - 15
cis15 advanced programming techniques, using c+ summer 2008 lecture # II.1 topics: objects and class design command line arguments resources: Pohl, chapter 4aggregate data types class and struct struct comes from C class is new in C++ both a
CUNY Baruch - CIS - 1
today: functions what are functions and why to use them library and programmer-dened functions parameters and return values reading: textbook chapter 5, sections 1-4 modularityadvantages of functions we can divide up a program into small, un
CUNY Baruch - CIS - 1
today: arrays what are arrays and why to use them integer arrays reading: textbook chapter 7, sections 3-4arrays arrays are used to hold sets of related types of data the data could be integers or doubles or booleans the data could also be ch
CUNY Baruch - CS - 3157
MAKE(1L)LOCAL USER COMMANDSMAKE(1L)NAME make - GNU make utility to maintain groups of programs SYNOPSIS make [ -f _ a_ e_ i_ e ] [ option ] . target . m_ k_ f_ l_ WARNING This man page is an extract of the documentation of _ N_ _ a_ e G_ U m_ k
CUNY Baruch - CS - 1007
CS1007 lecture #4 notesthu 12 sep 2002 news data types and storage variables and assignment binary numbers and arithmetic ASCII Strings math operators increment and decrement operators reading: ch 2.5,2.7-2.12cs1007-fall2002-sklar-lect04
CUNY Baruch - CS - 1007
CS1007 lecture #21 notesthu 21 nov 2002 news vectors linear searching reading: ch 12.1-12.6cs1007-fall2002-sklar-lect21 1vectors (1).Java has a nice class which handles arrays dynamically: java.util.Vector the elements of a Vector can be
CUNY Baruch - CS - 1007
CS1007 lecture #6 notesthu 19 sep 2002 news homework #2 will be posted by midnight tonight homework #1 should be returned in recitation next week the while and for loops break and continue statements switch statement reading: ch 3.5-3.10 cs10
CUNY Baruch - CS - 3157
fork(2)fork(2)NAMEfork, fork1 - create a new processSYNOPSIS#include <sys/types.h> #include <unistd.h> pid_t fork(void); pid_t fork1(void);MT-LEVELfork( ) is Async-Signal-SafeDESCRIPTIONfork( ) and fork1( ) cause creation of a new proce
CUNY Baruch - CS - 1007
CS1007 lecture #10 notestue 8 oct 2002 NEWS error quiz # 1, question 1d if you got the question WRONG, bring the quiz to class on thu 10 oct for a one-time regrade arrays (one-dimensional) nding array minimum and maximum sorting big-Oh 2-dimension
CUNY Baruch - CS - 1007
CS1007 lecture #15 notestue 29 oct 2002 news networks applets GUIs reading: ch 8.1-8.4cs1007-fall2002-sklar-lect15 1networks (1).two or more computers connected to each other networked computers can share information and resources, e.g.:
CUNY Baruch - CS - 3157
SED(1)User CommandsSED(1)NAME sed - a Stream EDitor SYNOPSIS sed [-n] [-V] [-quiet] [-silent] [-version] [-help] [-e script] [-expression=script] [-f script-file] [-file=script-file] [script-if-no-other-script] [file.] DESCRIPTION _ e_ is a str
CUNY Baruch - CS - 3157
C for Java Programmerslecture notes credits: Advanced Programming (cs3995, Spring 2002, Prof Schulzrinne) Software Construction (J. Shepherd) Operating Systems at Cornell (Indranil Gupta) today: Why learn C after Java? A brief background on C
CUNY Baruch - CS - 1007
CS1007 lecture #7 notestue 24 sep 2002 news homework #2 due tue oct 1 homework #1 should be returned in recitation this week short quiz #1 (5 points) in class on thu sep 26 bring one page of notes no computers, calculators, phones, etc. for, whil
CUNY Baruch - CS - 3157
lecture #16 mon oct 28, 2002news homework #3 due today homework #4 out today replacing quiz #3 see web page for updates. today programming tools overview conguration management sources: some slides from H. Schulzrinne, cs3995, spring 2002
CUNY Baruch - CS - 1007
CS1007 lecture #3 notestue 10 sep 2002 http:/www.columbia.edu/~cs1007 today: news quick and dirty UNIX quick and dirty emacs creating/editing/compiling/running your first Java program homework #1 submitting homework #1 cs1007-fall2002-s
CUNY Baruch - CS - 3157
Perl Regular Expressions: Kleene Star Kleene star and friends * operator ? match zero or more times Precedence is tighter than union ? /very* long string/Perl Regular Expressions: Special Characters Character class shortcuts \d = [0-9] \s = w
CUNY Baruch - CS - 3157
lecture #20 wed nov 13, 2002news homework #5 and #6 will be combined check class home page for updates today CGI HTML forms sources see references link on class web page cs3157-fall2002-sklar-lect201a.cgi#!/bin/sh echo "Content-type:
CUNY Baruch - CS - 3157
read(2)read(2)NAMEread, pread, readv - read from fileSYNOPSIS#include <sys/types.h> #include <sys/uio.h> #include <unistd.h> ssize_t read(int fildes, void *buf , size_t nbyte); ssize_t pread(int fildes, void *buf , size_t nbyte, off_t offset)
CUNY Baruch - CS - 3157
exec(2)exec(2)NAMEexec, execl, execv, execle, execve, execlp, execvp - execute a fileSYNOPSIS#include <unistd.h> int execl(const char * path, const char *arg0, . . ., const char *argn, char * /*NULL*/); int execv(const char * path, char *cons
CUNY Baruch - CS - 1007
CS1007 lecture #22 notestue 26 nov 2002 news more recursion recursive searching reading: ch 12.7-12.12cs1007-fall2002-sklar-lect22 1recursion.recursion is defining something in terms of itself there are many examples in nature and in
CUNY Baruch - CS - 1007
CS1007 lecture #14 notesthu 24 oct 2002 news exams will be back on tuesday wrapper classes inheritance this keyword reading: ch 7 cs1007-spring2002-sklar-lect14 1classes.classes are the block around which Java is organized classes a
CUNY Baruch - CS - 1007
CS1007 lecture #5 notestue 17 sep 2002 news boolean expressions logical operators truth tables relational operators the if branching statement flowcharts command line arguments System.exit() method reading: ch 3.1-3.4news.homework #1 is
CUNY Baruch - CS - 1007
CS1007 lecture #7 notestue 24 sep 2002 news homework #2 due tue oct 1 homework #1 should be returned in recitation this week short quiz #1 (5 points) in class on thu sep 26 bring one page of notes no computers, calculators, phones, etc.
CUNY Baruch - CS - 1007
CS1007 lecture #12 notestue 15 oct 2002 news objects classes constants methods (review) encapsulation and visibility (the public and private modifiers) instantiation (the static modifier) reading: ch 6.1-6.7 objects.objects have: stat
CUNY Baruch - CS - 1007
CS1007 lecture #3 notestue 10 sep 2002 http:/www.columbia.edu/cs1007 today: news quick and dirty UNIX quick and dirty emacs creating/editing/compiling/running your rst Java program homework #1 submitting homework #1 news.Prof Sklar is
CUNY Baruch - CS - 1007
CS1007 lecture #20 notestue 19 nov 2002 news streams files java.io package exceptions StringTokenizer formatting output reading: ch 10-11 streams (1).we've drawn a picture of input and output many times this semester: input CPU output
CUNY Baruch - CS - 3157
Perl Regular Expressions Syntax for purpose of slides Regular expression = /pattern/ Broader syntax: if (/pattern/) {body} Notes Regular expressions are case sensitive /Rishikesh/ is not /rishikesh/ is not /RISHIKESH/ Regular expressions are
CUNY Baruch - CS - 3157
CS3157 Java UI Recitation Material Covered: Overview of AWT components, Event Handling, creating applets, and sample UI. Not covered in recitation: Drawing, Images, Layout ManagerAWT Components Containers: Windows (Frame, Dialog, FileDialog) ,
CUNY Baruch - CS - 3157
advanced programming - fall 2002 lecture #22 - mon nov 25 web programming review slides from Henning Schulzrinne, coms w3995 advanced programming, spring 2002 programming tools review slides from Henning Schulzrinne, coms w3995 advanced programmi
CUNY Baruch - CS - 3157
IDENT(1) User Commands IDENT(1)NAME ident - identify RCS keyword strings in filesSYNOPSIS ident [ -q ] [ -V ] [ _f_i_l_e . ]DESCRIPTION ident searches for all instances of the p
CUNY Baruch - CS - 3157
lecture #16 mon oct 28, 2002news homework #3 due today homework #4 out today replacing quiz #3 see web page for updates. today programming tools overview conguration management sources: some slides from H. Schulzrinne, cs3995, spring 2
CUNY Baruch - CS - 3157
Remotivating Advanced Programming Software Engineering Lecture 2Phil Gross 23 Oct 2002CS teaches how to write ideal software In the real world, software is usually late, overbudget, and broken Software lasts much longe
CUNY Baruch - CS - 3157
todaythe MESS that is cs3157: update on ROOM and RECITATIONS HOMEWORK #1 WILL BE POSTED BY MIDNIGHT TONIGHT CHECK MODIFIED DATES ON SYLLABUS WEB PAGE compiling and the C preprocessor data types basic I/O (stdio)Compiling C programs (1)gcc i
CUNY Baruch - CS - 3157
C for Java Programmerslecture notes credits: Advanced Programming (cs3995, Spring 2002, Prof Schulzrinne) Software Construction (J. Shepherd) Operating Systems at Cornell (Indranil Gupta) today: Why learn C after Java? A brief background
CUNY Baruch - CS - 3157
read, pread, readv - read from file#include <sys/types.h>#include <sys/uio.h>#include <unistd.h>read( ) is Async-Signal-Safe attempts to read bytes from the file associated with into the buffer pointed to by Ifnbyte is zero, returns zero and has
CUNY Baruch - CS - 3157
RLOG(1) User Commands RLOG(1)NAME rlog - print log messages and other information about RCS filesSYNOPSIS rlog [ _o_p_t_i_o_n_s ] _f_i_l_e .DESCRIPTION rlog prints information abou
CUNY Baruch - CS - 3157
CO(1) User Commands CO(1)NAME co - check out RCS revisionsSYNOPSIS co [_o_p_t_i_o_n_s] _f_i_l_e .DESCRIPTION co retrieves a revision from each RCS file and stores it into the
CUNY Baruch - CS - 3157
RCSCLEAN(1) User Commands RCSCLEAN(1)NAME rcsclean - clean up working filesSYNOPSIS rcsclean [_o_p_t_i_o_n_s] [ _f_i_l_e . ]DESCRIPTION rcsclean removes files that are not being worked on.
CUNY Baruch - CS - 3157
RCS(1) User Commands RCS(1)NAME rcs - change RCS file attributesSYNOPSIS rcs _o_p_t_i_o_n_s _f_i_l_e .DESCRIPTION rcs creates new RCS files or changes attributes of existing ones.
CUNY Baruch - CS - 3157
RCSDIFF(1) User Commands RCSDIFF(1)NAME rcsdiff - compare RCS revisionsSYNOPSIS rcsdiff [ -k_s_u_b_s_t ] [ -q ] [ -r_r_e_v_1 [ -r_r_e_v_2 ] ] [ -T ] [ - V[_n] ] [ -x_s_u_f_f_i_x_e_s ] [ -z_z_o_n_
CUNY Baruch - CS - 3157
MERGE(1) User Commands MERGE(1)NAME merge - three-way file mergeSYNOPSIS merge [ _o_p_t_i_o_n_s ] _f_i_l_e_1 _f_i_l_e_2 _f_i_l_e_3DESCRIPTION merge incorporates all changes that lead from _f
CUNY Baruch - CS - 3157
CI(1) User Commands CI(1)NAME ci - check in RCS revisionsSYNOPSIS ci [_o_p_t_i_o_n_s] _f_i_l_e .DESCRIPTION ci stores new revisions into RCS files. Each pathname matching a
CUNY Baruch - CS - 1007
CS1007 lecture #8 notesthu 26 sep 2002 news homework #2 due tue oct 1 homework #1 should be returned in recitation this week short quiz #1 today the java.util.Random class the java.util.Date class introduction to recursion method overloadin
CUNY Baruch - CS - 1007
CS1007 lecture #19 notesthu 14 nov 2002 news interfaces reading: ch 7.9cs1007-fall2002-sklar-lect19 1interfaces (1).an interface is a group of abstract methods that are dened by all classes that implement the interface an abstract method i
CUNY Baruch - CIS - 5
CIS5.2Assignment1duetheclassperiodafterwefinishWD159:Feb.9(11?)2009 CreateaflyeraswedidinthefirstWordsectionofthetextbook.Youmaybeginwithyourowntextfor yourownevent,oryoumaystartwiththeApply11AutumnFestFlyerunformatted.docxintheChapter 1folderdownloa
CUNY Baruch - CIS - 1
GETTING STARTED IN TURBO C or TURBO C+ FOR WINDOWS Jacqueline A. Jones January, 2002SECTION 4: EDITING, SAVING, AND RETRIEVING FILES Editing a Program To work most efficiently in Turbo C, you'll need more details about typing in a program and editi