C++

for

Programmers

using Microsoft Visual C++ 6.0 Professional

Administration

  • Brochures
  • C++ Jeopardy
  • Formats used
  • Materials required
  • Microsoft Visual C++ 6.0 Professional Edition custom installation instructions
  • One minute paper
  • Evaluation forms

C++ Jeopardy

/*

*/

//

{

}

;

#

#include

main

<iostream.h>

cout

=

for

while

C++ Jeopardy

+

if

[ ]

- (between two operands)

* (between two operands)

/

( )

<=

>=

!=

==

++

return

\0

\t

C++ Jeopardy

\n

‘ ‘

--

%

+=

-=

*=

/=

%=

break

continue

const

exit( )

get( )

put( )

C++ Jeopardy

cin

& (between two operands)

||

|

!

~

else

switch

case

- (in front)

* (in front)

& (in front)

.cpp

double(n)

const

C++ Jeopardy

using

namespace

sizeof

operator

struct

void

typedef

::

.*

->*

...

new

delete

class

private

protected

public

this

C++ Jeopardy

* (in front of fcn name)

#ifndef

#endif

inline

template

enum

catch

throw

template

ostream&

ostream& operator <

friend

virtual

volatile

cin.width

iomanip.h

setw

setprecision

Formats Used

Cbinder

Normal2 +Font: 64 pt, Bold, Centered, Position: 0.13” From Text, 0.13” From Text

Cpage (Alt-F)

Normal2 + Font: 18 pt, Centered

Cparagraph (Alt-P)

Normal2 + Font: 14 pt, Indent: Hanging 0.5", Space Before 5pt, Tab stops: 1", 1.5", 2", 2.5", 3", 3.5"

Csection

Normal2 + Font: 40 pt, Bold, Centered

Cline (Alt-C)

Normal + Font: 14 pt, Indent: Left 0.5" Hanging 0.5"

footer

Normal2 + Font: 10 pt, Tab stops: 3" Centered, 6" Right Flush

header

Normal2 + Tab stops: 3" Centered, 6" Right Flush

Normal (Alt-N)

Font: Courier New, 12 pt, English (US), Flush left, Line Spacing Single, Tab stops: 0.5", 1", 1.5", 2", 2.5", 3", 3.5", 4"

Normal2

Font: Times New Roman, 12 pt, English (US), Flush left, Line Spacing Single

page number

Normal2 + Font: 10 pt

Materials Required

1. Student registration list

2. Tent cards

3. Notebooks

3-ring binder

materials printed two sides

divider tabs with printed inserts

4. Computers

Pentium 200's with hard disk drive with adequate available disk space

Software installed on each machine

Microsoft Visual C++ 6.0 Professional

MSDN Library – Visual Studio 6.0

5. Blackboard or whiteboard

Chalk or dry erase markers

6. Flip chart

Marking pens

7. Overhead projector

8. Transparencies

9 Transparency marking pens

10 PC flat projection panel or overhead projection system

11 Parking stickers

12 List of places to eat

13 Refreshments

14 Lecture room

One large combined room with computers for lecture/lab

or one lab room with computers and a second lecture room

Computers in lab must be available full day for all days

15 Student sample program disks or programs available on the network

16 Reference materials

Microsoft Visual C++ reference materials

Ladd

Stroustroup

Lippman

Nagler

Deitel and Deitel

expanded course manual

17 Masking tape

18 Pointer

19 Blank paper

20 Loose supplemental handouts

a. Solutions

b. Evaluation forms

21 Usernames, passwords, domain names, and network file locations

Microsoft Visual C++ 6.0 Professional Edition Custom Installation Overview

Scan for viruses

Reboot

Make a ROOTBACK directory, copy key files as precaution

Run SCANDISK

Shut down all applications and virus scanners

OVERVIEW:

Select CUSTOM INSTALL.

Go with the default options, EXCEPT ADD the following:

  • Shared Libraries for Unicode --Not needed for POET, but important for programming COM on NT
  • Browser Database -- Used when debugging through MFC code

For the MSDN Library, Insert the MSDN Library disk 1.

Select Custom Install and then select the following components:

  • Full Text Search Index
  • VB Documentation
  • VB Product Samples
  • VC++ Documentation
  • Platform SDK Documentation
  • VS Shared Documentation

Then, apply service packs/patches in the following order:

  • MDAC_TYP.exe
  • VS6 SP3
  • NT4 SP5 (128 bit version)
  • Repair IE5 (Add/Remove Programs - IE5 - Repair)

Copy instructor C and C++ files to BC4 directory

Microsoft Visual C++ 6.0 Professional Edition Custom Installation Notes

Answer YES

Then answer yes again...

After rebooting, answer the prompts and select custom install.

Use the default options except ADD the following: (use the change option button to get there)

VC++ MFC and Template Libraries

-MS Foundation Class Libraries

-Shared Libraries for Unicode--Not needed for POET, but important for

programming COM on NT

-Browser Database-- Used when debugging through MFC code

Click continue, then you will see:

This puts th PATH, LIB, and INC settings in the registry for the current user ONLY.

Other users can use the batch file mentioned. Click OK without checking the box.

When you see the following dialog, it is telling you that it will add an option

to the menu to install some additional files after this installation is done.

Click ok. (NOTE we see no need to install this at this time.)

Installing the Online Documentation.

Next you will see a WIZARD FOR INSTALLING THE msdn. You need to do this.

Click Next.

Insert the MSDN Library disk 1.

Select Custom Install and then select the following components:

Full Text Search Index

VB Documentation

VB Product Samples

VC++ Documentation

Platform SDK Documentation

VS Shared Documentation

When prompted, insert MSDN Library disk 2

After it copies the files, you will see:

Answer Yes.

When the next screen comes up, just click Exit.

when you see this:

click yes.

NEXT: APPLY VARIOUS SERVICE PACKS, IN THE FOLLOWING ORDER:

VS6 SP3:

--Run MDAC_TYP.EXE ....

When the dialog box titled Microsoft Data Access 2.1 appears,

click on the ICON containing a computer to begin the installation.

Restart Windows when done.

On reboot, logon as a local administrator, so that the system

can automatically complete the installation.

--Run SetupSP3.exe

NT 4 SP5:

--Run MSNT128.exe (128 bit version)

--Reboot when done.

Repair IE 5:

Click on "Add/Remove". The following dialog box will

then appear:

Select "Repair Internet Explorer" and then click OK.

Getting Rid of Viruses

If scan for viruses shows a virus, or you suspect one:

1. Take a floppy

2. Format /s from a known good machine

3. Go to F-PROT directory, copy all files

4. Copy FDISK.COM and SYS.COM from DOS directory

5. Write protect floppy

6. Boot bad machine from this floppy (totally cold after powering down)

7. Run F-PROT SCAN

8. Run F-PROT CLEAN, then check as noted below

8a. For STONED NO INT virus, use FDISK /STATUS

If 100% partitioned, OK

If < 100% partitioned, need to re-format disk

FDISK /MBR fixes boot sector for boot sector viruses

For FORMS virus, do a SYS C:

One-Minute Paper

1. What was the main point of today's lecture modules and labs?

2. What remaining, unanswered question do you have after today's work?

Schedule of times you would PREFER to have the third floor GPS labs in OSS open for using Microsoft Visual C++ 6.0 with someone to help available. Put an X in every box corresponding to a time that would be convenient for you. (Leave blank all boxes that would be inconvenient for you.)

Day:
Time: / Sun-day / Mon-day / Tues-day / Wednesday / Thursday / Fri-day / Satur-day
Midnight - 12:59 A.M.
1:00 - 1:59 A.M.
2:00 - 2:59 A.M.
3:00 - 3:59 A.M.
4:00 - 4:59 A.M.
5:00 - 5:59 A.M.
6:00 - 6:59 A.M.
7:00 - 7:59 A.M.
8:00 - 8:59 A.M.
9:00 - 9:59 A.M.
10:00 - 10:59 A.M.
11:00 - 11:59 A.M.
Noon - 12:59 P.M.
1:00 - 1:59 P.M.
2:00 - 2:59 P.M.
3:00 - 3:59 P.M.
4:00 - 4:59 P.M.
5:00 - 5:59 P.M.
6:00 - 6:59 P.M.
7:00 - 7:59 P.M.
8:00 - 8:59 P.M.
9:00 - 9:59 P.M.
10:00 - 10:59 P.M.
11:00 - 11:59 P.M.

______Check here if any time is just as good as any other

______Check here if you are not planning on using the GPS lab facilities regardless of when it is open or when consultants are available

Lab Schedule (Tentative)

327 OSS: GPS COMPUTER LAB / As of 12-28-99

Student Consultant Schedule: 1/4/00 - 1/26/00

During January, the 327 OSS GPS Computer Lab will be open from:
5pm-10pm Mon-Fri, and from 10am-10pm on Saturdays and Sundays.
To reserve time on a specific workstation, see the student consultant, or call 962-5446.
Mon / Tue / Wed / Thr / Fri / Sat / Sun
07:00 - 08:00 / Closed / Closed / Closed / Closed / Closed / Closed / Closed
08:00 - 09:00 / | / | / | / | / | / | / |
09:00 - 10:00 / | / | / | / | / | / Closed / Closed
10:00 - 11:00 / | / | / | / | / | / AB / AB
11:00 - 12:00 / | / | / | / | / | / AB / AB
12:00 - 01:00 / Closed / Closed / Closed / Closed / Closed / AB / AB
01:00 - 02:00 / | / | / | / | / | / AB / AB
02:00 - 03:00 / | / | / | / | / | / YL / NE
03:00 - 04:00 / | / | / | / | / | / YL / NE
04:00 - 05:00 / | / | / | / | / | / YL / NE
05:00 - 06:00 / WQ / TBA / MO / WQ / MO / YL / NE
06:00 - 07:00 / WQ / TU / MO / WQ / MO / YL / NE
07:00 - 08:00 / WQ / TU / MO / WQ / MO / YL / NE
08:00 - 09:00 / WQ / TU / MO / WQ / MO / YL / NE
09:00 - 10:00 / WQ / TU / MO / WQ / MO / YL / NE
10:00 - 11:00 / Closed / Closed / Closed / Closed / Closed / Closed / Closed
Notice: Both labs will be CLOSED on Monday, Jan. 17,for Martin Luther King, Jr. Day
For help with Java:
Mondays / 5pm - 10pm / See Wei Qiao in 327 OSS.
5
Tuesdays / 6pm - 10pm / See Zheng Jin Tu in 327 OSS.
4
Wednesdays / 5pm - 10pm / See Jingmei Mo in 327 OSS.
8
Thursdays / 5pm - 10pm / See Wei Qiao in 327 OSS.
4
Fridays / 5pm - 10pm / See Jingmei Mo in 327 OSS.
8
Saturdays / 10am-2pm / See Arun Batchu in 327 OSS.
8
Sundays / 10am-2pm / See Arun Batchu in 327 OSS.
8
Also note that the 434 OSS student consultants are also familiar with Java.
= Most experienced with Java Tutoring.
For help with C++:
Mondays / 5pm - 10pm / See Wei Qiao in 327 OSS.
5
Tuesdays / 6pm - 10pm / See Zheng Jin Tu in 327 OSS.
4
Wednesdays / 5pm - 10pm / See Jingmei Mo in 327 OSS.
8
Thursdays / 5pm - 10pm / See Wei Qiao in 327 OSS.
4
Fridays / 5pm - 10pm / See Jingmei Mo in 327 OSS.
8
Saturdays / 10am-2pm / See Arun Batchu in 327 OSS.
6
Saturdays / 2pm-10pm / See Yihui Li (Sophia) in 327 OSS.
8
Sundays / 10am-2pm / See Arun Batchu in 327 OSS.
6
= Most experienced with C++ .
Code: / Student Consultant: / E-mail:
AB / Arun Batchu / ABBATCHU
JJ / Jeff Johnson / JLJOHNSON1
KB / Kathryn Brennan / KBBRENNAN
KM / Keith Murphy / KPMURPHY
MF / Michelle Frits / MLFRITS
MO / Jingmei Mo / JMO
NE / Naila El-Hilali / NELHILALI
TU / Zheng Jin Tu / ZJTU
WQ / Wei Qiao / WQIAO
YL / Yihui Li (Sophia) / YLI1
E-mail: / Lab Staff: / Phone: / Office: / Duties: / January Hours:
tefremouw / Tim Fremouw / 962-5505 / 316 OSS / Lab Manager. Hiring, scheduling, etc. Plus 325, 326. H: 651-690-5418 / M-F 10am-6pm++
mntegomoh / Marius Tegomoh / 962-5517 / 315 OSS / Assistant Lab Manager. Manages 313, 327, 328, Offices / M,W: 9:30am-6pm; T,Th,F: 8:30-5pm
scerimagic / Saladin Cerimagic / 962-5502 / 427 OSS / Assistant Lab Manager. Manages 428 PCs, 431, 432, 434 / M-F 7:30am-4pm
bsmisra / Dr. Bhabani Misra / 962-5508 / 311 OSS / Sun Administrator (Devi Muthyala also assists with Sun Admin) / See office door.
Undergraduate Lab:
434 OSS QMCS COMPUTER LAB / As of 12-28-99

Student Consultant Schedule: 1/3/00 - 1/29/00

During January, the 434 OSS Computer Lab will be open from 8am-10pm Mon-Thur, and from 9am-5pm Fri-Sat from 1/3/00-1/29/00. The lab will be closed on Sundays.
To reserve time on a specific workstation, see the student consultant, or call 962-5481.
Mon / Tue / Wed / Thr / Fri / Sat / Sun
07:00 - 08:00 / Closed / Closed / Closed / Closed / Closed / Closed / Closed
08:00 - 09:00 / KB / KB / KB / KB / Closed / Closed / |
09:00 - 10:00 / KB / KB / KB / KB / JJ / AB/KB / |
10:00 - 11:00 / KB / KB / KB / KB / JJ / KB / |
11:00 - 12:00 / KB / KB / KB / KB / JJ / KB / Closed
12:00 - 01:00 / JJ/KB / JJ/KB / JJ/KB / JJ/KB / JJ / KB / Closed
01:00 - 02:00 / MF/JJ / MF/JJ / MF/JJ / MF/JJ / JJ / KB / |
02:00 - 03:00 / MF/JJ / MF/JJ / MF/JJ / MF/JJ / JJ / KB / |
03:00 - 04:00 / MF/JJ / MF/JJ / MF/JJ / MF/JJ / JJ / KB / |
04:00 - 05:00 / JJ / JJ / JJ / JJ / JJ / KB / |
05:00 - 06:00 / JJ / JJ / JJ / JJ / Closed / Closed / Closed
06:00 - 07:00 / JJ / JJ / JJ / JJ / Closed / Closed / Closed
07:00 - 08:00 / KM / KM / KM / KM / | / | / |
08:00 - 09:00 / KM / KM / KM / KM / | / | / |
09:00 - 10:00 / KM / KM / KM / KM / | / | / |
10:00 - 11:00 / Closed / Closed / Closed / Closed / Closed / Closed / Closed
Note that Jeff Johnson will sub for Keith on Monday, 1/3. Jeff will also sub for Katie on Tues 1/18 & Wed 1/19.

Graduate Programs in Software

Technical Seminar Series

C++ Programming for Programmers / Jan 2-23, 1996

This questionnaire contains guidelines for expressing your assessment of the instructor and the seminar which you have attended. This evaluation will be used by the director of the Graduate Programs in Software and the instructor.

Thank you for your assistance.

PART 1: Give a rating of 1(lowest) to 5(highest) for each item, and make additional comments which would be useful to the evaluator:

Poor / Fair / Good / Very Good / Excellent
THE INSTRUCTOR
1. The instructor was organized and prepared for class / 1 / 2 / 3 / 4 / 5
2. The instructor demonstrated a thorough knowledge and understanding of the topic / 1 / 2 / 3 / 4 / 5
3. The instructor made clear the relevance and application of course materials and ideas / 1 / 2 / 3 / 4 / 5
4. The instructor was able to communicate difficult concepts and ideas / 1 / 2 / 3 / 4 / 5
5. The instructor stimulated thinking and discussion, where appropriate / 1 / 2 / 3 / 4 / 5
6. The instructor gave adequate examples and illustrations from outside the text / 1 / 2 / 3 / 4 / 5
7. The instructor was enthusiastic about the subject matter / 1 / 2 / 3 / 4 / 5
8. The instructor was interested in helping participants master the seminar and lab material / 1 / 2 / 3 / 4 / 5
9. The instructor made participants feel free to express themselves both in and out of class / 1 / 2 / 3 / 4 / 5
PART II: THE SEMINAR
1. The seminar was well-planned / 1 / 2 / 3 / 4 / 5
2. Seminar objectives were made clear and the syllabus was followed / 1 / 2 / 3 / 4 / 5
3. The seminar provided learning opportunities that supported the stated objectives / 1 / 2 / 3 / 4 / 5
4. Lab exercises were useful / 1 / 2 / 3 / 4 / 5
5. Handouts were useful / 1 / 2 / 3 / 4 / 5
6. The seminar corresponded with the brochure description / 1 / 2 / 3 / 4 / 5
7. Overall course quality / 1 / 2 / 3 / 4 / 5

PART III: OTHER

1. What were the strengths of this seminar?

2. What were the weaknesses of the seminar and what recommendations do you have to improve this seminar?

3. What were the strengths of the instructor?

4. what could the instructor improve upon and what recommendations do you have to improve the quality of instruction?

5. Any other comments?

C++ Programming

Seminar Evaluation

Name: / Date:
Company: / Instructor:

Please indicate the quality of each item below by marking an "x" in the square

Poor / Fair / Good / Very
Good / Excel-
lent
Knowledge of instructor
Lab exercises
Handouts
Instructor availability in lab
Overall course quality
No, not
at all / Some-
what / Gener-
ally / Yes / Yes, very
much so
Did this course correspond with the description given in the brochure
Did you feel properly prepared for this course
Did this course satisfy your personal or job requirements
Did the instructor satisfactorily answer all of your questions

Why were you interested in taking this course?

What can we do to make this course better or more useful?

What are your general comments regarding this course?