Summary of the mid-term exam

The University has passed the so-called adaptation period in silence. In the face of new faces, new learning methods, and new learning objects, I still seem to be unable to adapt, c ++ in professional courses always finds it hard to keep running

Week 2 project 2 reads data to the struct Array

Objective: to learn to read data Computer content: Read Data Structure   /** Program Copyright and version description Section * copyright (c) 2013, Yantai University Computer college student * All rightsreserved. * file name: score. CPP *

+-*/Operator Extension

/* 02 .* Program Copyright and version description section 03. * copyright (c) 2012, Yantai University Computer college student 04. * All rightsreserved.05. * file name: object. cpp06. * Author: Liu ming07. * Completion Date: April 8, April 19, 2013.

File writing and reading

/**ProgramCopyright and version description Section * copyright (c) 2012, Yantai University Computer college student * All rightsreserved. * Author: Li Yang * Completion Date: July 15, June 4, 2013 * version: V1.0 * input Description: none * Problem

Judge whether a number is a special three-digit number.

/* Prepared by: Liu Yuanlong Completion Date: April 9, November 15, 2012 version No.: V1.0 output description: Enter all prime numbers less than 10000 Problem description: Use the function output to obtain the maximum approximate numberProgramOutput:

Week 2 project 2 -- abstract base class shape class

/** Program Copyright and version description Section * copyright (c) 2013, Yantai University Computer college student * All rightsreserved. * file name: object. CPP * Author: Yang Chen * Completion Date: July 15, May 31, 2013 * version: V1.0 *

Simple banking system

/** Program Copyright and version description Section * copyright (c) 2012, Yantai University Computer college student * All rightsreserved. * file name: yinhang. CPP * Author: Liu Mingliang * Completion Date: July 15, November 24, 2012 * version: V1

Week 9 project 3-Operator Overloading in the score class (using input and output operators)

/** Program Copyright and version description Section * copyright (c) 2013, Yantai University Computer college student * All rightsreserved. * Author: Yang Chen * Completion Date: July 15, April 26, 2013 * version: V1.0 * input Description: *

Age ry of "Zhang San, Li Si, Wang Wu, Liu"

/* 02. * copyright (c) 2012, School of Computer Science, Yantai University 03. * All Rights Reserved. 04. * Author: Liu Mingliang 05. * Completion Date: July 6, November 8, 2012. * version No.: V1.0 08. * input Description: none. * Problem

Week 11 Task 4

# Include using namespace STD; Class Point {public: Point (double x = 0, Double Y = 0); // constructor void setpoint (double, double ); // set the coordinate value double getx () const {return X; // read X coordinate} double Gety () const {return y;

Score class (operator overload)

/** Copyright and version declaration section of the Program * Copyright (c) 2013, student * All rightsreserved from computer College of Yantai University. * Author: Liu Mingliang * Completion Date: July 15, April 23, 2013 * version: v1.0 * input

"+-*/" Overload

/** Copyright (c) 2011, School of Computer Science, Yantai University * All rights reserved. * Prepared by: Liu Mingliang * completed on: July 15, April 24, 2013 * version number: v1.0 * input Description: * Problem description: objects in the score

Project 3 of week 1: Enjoy the motorcycle development process (the virtual bases of bicycles and motor vehicles are vehicles, and the bases of motorcycles are bicycles and motor vehicles)

/** Copyright and version declaration section of the Program * copyright (c) 2012, student * All rightsreserved from computer College of Yantai University. * Author: Li Yang * Completion Date: July 15, May 25, 2013 * version: V1.0 * input

Week 8 Task

# Include # include using namespace std; class CFraction {private: int nume; // int deno; // denominator public: CFraction (int nu = 0, int de = 1): nume (nu), deno (de) {} void simplify (); void display (); CFraction operator + (const CFraction &

Task 1 of week 9

/** Copyright and version declaration section of the Program * Copyright (c) 2013, student * All rightsreserved from computer College of Yantai University. * file name: score. cpp * Author: Liu Yuanlong * Completion Date: July 15, May 7, 2013 *

Task 2 of week 9

# Include using namespace std; class Complex {public: Complex () {real = 0; imag = 0;} Complex (double r, double I) {real = r; imag = I;} friend Complex operator + (Complex & c1, Complex & c2); friend Complex operator-(Complex & c1, Complex & c2 );

Week 11 Task 3

# Include # include #include using namespace std; class CPerson {protected: char * m_szName; char * m_szId; int m_nSex; // 0: women, 1: manint m_nAge; public: CPerson (char * name, char * id, int sex, int age); void Show1 ();~ CPerson () ;}; class

So happy!

# Include # include // to facilitate comparison, the main function calls the library functions sin and cos using namespace std in Cmath; const double pi = 3.1415926; double mysin (double); double mycos (double); double myabs (double); // the

Project 3 in week 14th -- abstract class CSolid

/** Copyright and version declaration section of the Program * Copyright (c) 2013, student * All rightsreserved from computer College of Yantai University. * file name: object. cpp * Author: Yang Chen * Completion Date: July 15, June 3, 2013 *

13 weeks Task 3 Motorcycle

# Include # include # include using namespace std; enum vehicleStaus {rest, running}; // vehicle status: Parking, traveling class vehicle // vehicle type {protected: int maxSpeed; // maximum speed int currentSpeed; // int weight of the current

Total Pages: 64722 1 .... 56412 56413 56414 56415 56416 .... 64722 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.