TWiki
>
CS474 Web
>
LecturesS16
(2016-04-28, Main.troy)
E
dit
A
ttach
CS 474 - Spring 2015
Class Notes
CS474_-_042816.pdf
CS474_-_041216.pdf
CS474_-_040716.pdf
CS474_-_040516.pdf
CS474_-_033116.pdf
CS474_-_032916.pdf
CS474_-_031716.pdf
CS474_-_3031516.pdf
CS474_-_031016.pdf
CS474_-_030316.pdf
CS474_-_030116.pdf
CS474_-_022516.pdf
CS474_-_022316.pdf
C++ Inheritance and Polymorphism Examples
Simple Inheritance Example: derived.cpp
Simple Polymorphism Example: virtual.cpp
Simple Polymorphism Example: virtual2.cpp
Polymorphism with abstract method: abstract.cpp
Polymorphism with abstract method: abstract2.cpp
These examples came from the following web pages:
http://www.cplusplus.com/doc/tutorial/inheritance/
http://www.cplusplus.com/doc/tutorial/polymorphism/
CS474_-_021816.pdf
CS474_-_021116.pdf
String Class Example
The first file is the header file for the string class:
String.h
The second file is the source code file for the string class:
String.cpp
The third file is the main file to test and use the string class:
StringMain.cpp
The fourth file is the make file for the above three files:
StringMake
To use the make file type:
make -f StringMake String
CS474_-_020916.pdf
CS474_-_020416.pdf
C
S_474_-_020216.pdf
1/14/16 -
PowerPoint
Slides from Prof. Buy available on Blackboard
--
troy - 2016-01-14
Comments
C++ Inheritance and Polymorphism Examples
Simple Inheritance Example: derived.cpp
Simple Polymorphism Example: virtual.cpp
Simple Polymorphism Example: virtual2.cpp
Polymorphism with abstract method: abstract.cpp
Polymorphism with abstract method: abstract2.cpp
These examples came from the following web pages:
http://www.cplusplus.com/doc/tutorial/inheritance/
http://www.cplusplus.com/doc/tutorial/polymorphism/
Attachments
Attachments
Topic attachments
I
Attachment
Action
Size
Date
Who
Comment
pdf
CS474_-_020416.pdf
manage
343.5 K
2016-02-10 - 20:33
UnknownUser
pdf
CS474_-_020916.pdf
manage
300.9 K
2016-02-10 - 20:33
UnknownUser
pdf
CS474_-_021116.pdf
manage
452.7 K
2016-02-12 - 03:05
UnknownUser
pdf
CS474_-_021816.pdf
manage
442.4 K
2016-02-19 - 03:08
UnknownUser
pdf
CS474_-_022316.pdf
manage
583.0 K
2016-02-23 - 18:25
UnknownUser
pdf
CS474_-_022516.pdf
manage
295.2 K
2016-02-29 - 17:11
UnknownUser
pdf
CS474_-_030116.pdf
manage
357.0 K
2016-03-03 - 21:31
UnknownUser
pdf
CS474_-_030316.pdf
manage
578.6 K
2016-03-03 - 21:31
UnknownUser
pdf
CS474_-_031016.pdf
manage
262.1 K
2016-03-16 - 14:05
UnknownUser
pdf
CS474_-_031716.pdf
manage
655.0 K
2016-03-18 - 01:08
UnknownUser
pdf
CS474_-_032916.pdf
manage
352.9 K
2016-04-12 - 15:38
UnknownUser
pdf
CS474_-_033116.pdf
manage
289.3 K
2016-04-12 - 15:38
UnknownUser
pdf
CS474_-_040516.pdf
manage
520.2 K
2016-04-12 - 15:39
UnknownUser
pdf
CS474_-_040716.pdf
manage
264.1 K
2016-04-12 - 15:38
UnknownUser
pdf
CS474_-_041216.pdf
manage
604.5 K
2016-04-28 - 17:18
UnknownUser
pdf
CS474_-_042816.pdf
manage
1557.8 K
2016-04-28 - 17:18
UnknownUser
pdf
CS474_-_3031516.pdf
manage
437.8 K
2016-03-16 - 14:04
UnknownUser
pdf
CS_474_-_020216.pdf
manage
880.5 K
2016-02-10 - 20:32
UnknownUser
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r12
<
r11
<
r10
<
r9
<
r8
|
B
acklinks
|
R
aw View
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r12 - 2016-04-28 - 17:20:24 - Main.troy
CS474
Syllabus
Main Page: Spring 2016
Lecture Notes
Assignments
[edit this menu
]
Log In
CS474.WebHome"> <img src="/pub/TWiki/TWikiDocGraphics/home.gif" width="16" height="16" alt="Home" title="Home" border="0" /> [_1] Web
Create New Topic
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
ABOUT US
Our Department
Recent News
Contact Us
ACADEMICS
Prospective Students
Undergraduate
CS Minor
Graduate
Courses
RESEARCH
Overview
By Faculty
Labs
PEOPLE
Faculty
Adjuncts
Staff
Students
Alumni
Copyright 2016 The Board of Trustees
of the University of Illinois.
webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF