42
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

C Course Administration and Jeopardy Questionscourseweb.stthomas.edu/tpsturm/private/notes/cplusplus/... · Web viewDeitel and Deitel expanded course manual 17 Masking tape 18 Pointer

  • Upload
    dodang

  • View
    213

  • Download
    0

Embed Size (px)

Citation preview

C++for

Programmersusing Microsoft Visual C+

+ 6.0 ProfessionalAdministration

Brochures C++ Jeopardy Formats used Materials required Microsoft Visual C++ 6.0 Professional Edition custom installation

instructions One minute paper Evaluation forms

C++ Jeopardy/**///{};##includemain<iostream.h>cout“=<forwhile

C++ Jeopardy+if[ ]- (between two operands)* (between two operands)/( )<=>>=!===++return\0\t

C++ Jeopardy\n‘ ‘--%+=-=*=/=%=>>breakcontinueconstexit( )get( )put( )

C++ Jeopardycin& (between two operands)||&&|!~elseswitchcase- (in front)* (in front)& (in front).cppdouble(n)const

C++ Jeopardyusingnamespacesizeofoperatorstructvoidtypedef::.*->*...newdeleteclassprivateprotectedpublic

this

C++ Jeopardy* (in front of fcn name)#ifndef#endifinlinetemplateenumcatchthrowtemplateostream&ostream& operator <<friendvirtualvolatilecin.widthiomanip.hsetw

setprecision

Formats Used

CbinderNormal2 +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"

CsectionNormal2 + Font: 40 pt, Bold, Centered

Cline (Alt-C)Normal + Font: 14 pt, Indent: Left 0.5" Hanging 0.5"

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

headerNormal2 + 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"

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

page numberNormal2 + Font: 10 pt

Materials Required

1. Student registration list2. Tent cards3. Notebooks

3-ring bindermaterials printed two sidesdivider tabs with printed inserts

4. ComputersPentium 200's with hard disk drive with adequate available disk spaceSoftware installed on each machine

Microsoft Visual C++ 6.0 ProfessionalMSDN Library – Visual Studio 6.0

5. Blackboard or whiteboardChalk or dry erase markers

6. Flip chartMarking pens

7. Overhead projector8. Transparencies9 Transparency marking pens10 PC flat projection panel or overhead projection system11 Parking stickers12 List of places to eat13 Refreshments14 Lecture room

One large combined room with computers for lecture/labor one lab room with computers and a second lecture roomComputers in lab must be available full day for all days

15 Student sample program disks or programs available on the network16 Reference materials

Microsoft Visual C++ reference materialsLaddStroustroupLippmanNaglerDeitel and Deitelexpanded course manual

17 Masking tape18 Pointer19 Blank paper20 Loose supplemental handouts

a. Solutionsb. Evaluation forms

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

Microsoft Visual C++ 6.0 Professional Edition Custom Installation Overview

Scan for virusesRebootMake a ROOTBACK directory, copy key files as precautionRun SCANDISKShut down all applications and virus scannersOVERVIEW: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 codeFor 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 optionto 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 IndexVB DocumentationVB Product SamplesVC++ DocumentationPlatform SDK DocumentationVS 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 floppy2. Format /s from a known good machine3. Go to F-PROT directory, copy all files4. Copy FDISK.COM and SYS.COM from DOS directory5. Write protect floppy6. Boot bad machine from this floppy (totally cold after powering down)7. Run F-PROT SCAN8. Run F-PROT CLEAN, then check as noted below8a. For STONED NO INT virus, use FDISK /STATUS

If 100% partitioned, OKIf < 100% partitioned, need to re-format diskFDISK /MBR fixes boot sector for boot sector virusesFor 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/00During 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 Sun07: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.

5Tuesdays 6pm - 10pm See Zheng Jin Tu in 327 OSS.

4Wednesdays 5pm - 10pm See Jingmei Mo in 327 OSS.

8Thursdays 5pm - 10pm See Wei Qiao in 327 OSS.

4Fridays 5pm - 10pm See Jingmei Mo in 327 OSS.

8Saturdays 10am-2pm See Arun Batchu in 327 OSS.

8Sundays 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.

5Tuesdays 6pm - 10pm See Zheng Jin Tu in 327 OSS.

4Wednesdays 5pm - 10pm See Jingmei Mo in 327 OSS.

8Thursdays 5pm - 10pm See Wei Qiao in 327 OSS.

4Fridays 5pm - 10pm See Jingmei Mo in 327 OSS.

8Saturdays 10am-2pm See Arun Batchu in 327 OSS.

6Saturdays 2pm-10pm See Yihui Li (Sophia) in 327 OSS.

8Sundays 10am-2pm See Arun Batchu in 327 OSS.

6

= Most experienced with C++ .

Code: Student Consultant: E-mail:

AB Arun Batchu ABBATCHUJJ Jeff Johnson JLJOHNSON1KB Kathryn Brennan KBBRENNANKM Keith Murphy KPMURPHYMF Michelle Frits MLFRITSMO Jingmei Mo JMONE Naila El-Hilali NELHILALITU Zheng Jin Tu ZJTUWQ Wei Qiao WQIAOYL 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/00During 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 Sun07: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 SOFTWARETECHNICAL 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++ ProgrammingSeminar Evaluation

Name: Date:Company: Instructor:

Please indicate the quality of each item below by marking an "x" in the squarePoor Fair Good Very

GoodExcel-lent

Knowledge of instructorLab exercisesHandoutsInstructor availability in labOverall course quality

No, notat all

Some-what

Gener-ally

Yes Yes, verymuch so

Did this course correspond with the description given in the brochureDid you feel properly prepared for this courseDid this course satisfy your personal or job requirementsDid 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?