/** Copyright (c) 2012, School of Computer Science, Yantai University * All Rights Reserved. * Author: Qiu xuewei * Completion Date: July 15, November 15, 2012 * version: V1.0 ** input Description: none * Problem description: output an asterisk
Objective: To familiarize yourself with the definitionProgram
Computer content: a set of Formulas
Program:
/* Copyright (c) 2011, School of Computer Science, Yantai University * All Rights Reserved. * Author: Qiu xuewei * Completion Date: July 1
Class triangle {public: void Seta (Double X) {A = x ;}; // the built-in function must be defined in the header file void SETB (Double Y) {B = y ;}; void SETC (Double Z) {c = z;}; double geta () {return a;} double getb () {return B;} double GETC ()
/** Copyright (c) 2011, School of Computer Science, Yantai University * All Rights Reserved. * file name: test. CPP * Author: Fan Lulu * Completion Date: July 15, October 13, 2012 * version number: V1.0 ** input Description: none * Problem
Observer Pattern)
Code download
1. ConceptDefines a one-to-many dependency between objects so that when the status of an object changes, all objects dependent on it are notified and automatically refreshed.2. Model DiagramScenario 1:Dog call,
/** Copyright (c) 2013, School of Computer Science, Yantai University * All Rights Reserved. * file name: text. CPP * Author: Hu Ying * Completion Date: July 15, May 6, 2013 * version: V1.0 ** input Description: none * Problem description: addition,
A ball falls freely from the height of M. After each landing, it returns half of the original height and then drops.
How high does it rebound when the nth landing? How many meters are there? Retain two decimal places
# Include # include using
Using the AppWizard of VC, you can easily implement ToolTip of tool bar and menu item, or display help information on the status bar, however, it is not easy to display ToolTip and control information on status bar on the control of the dialog box.
/** Copyright (c) 2012, School of Computer Science, Yantai University * All rights reserved. * file name: name of the transcript. cpp * Author: Qiu xuewei * Completion Date: July 15, December 8, 2012 * version number: v1.0 ** input Description: none
/** Copyright (c) 2012, computer College, Yantai University* All rights reserved.* Author: Qiu xuewei* Completion date: January 1, October 13, 2012* Version No.: v1.0** Input Description: None* Problem description: design an asterisk chart that is
/** Copyright and version declaration section of the Program * Copyright (c) 2012, student * All rightsreserved from computer College of Yantai University. * file name: qingta. cpp * Author: Qiu xuewei * Completion Date: July 15, November 22, 2012 *
Code download
Jquery + WCF (AJAX)Key Points1. Add reference System. ServiceModel. Web note (the DLL referenced by System. ServiceModel. Web is not referenced by default)2. Add attributes to the interface[WebInvoke (RequestFormat = WebMessageFormat.
Objective: To play with the legendary Encryption
Computer content: encrypt xuewei into a string of encrypted letters
Program:
/** Copyright (c) 2012, School of Computer Science, Yantai University * All Rights Reserved. * Author: Qiu xuewei *
Content on the machine: Use the IF-else statement and switch statement to solve the segmentation function.Objective: To Learn branch structure Program Design
/** Copyright (c) 2012, School of Computer Science, Yantai University * All Rights
You can call the preset template to display tables in Excel, but it is not flexible. It took me a noon time to figure out how to set it.
The Code is as follows:
LPDISPATCH pRange;CString cell;Int c, c1, c2;
_ Variant_t vRange1; // sets the cell
Mediator Pattern)
Code download
1. ConceptAn intermediary object is used to encapsulate a series of object interactions. The intermediary makes the objects do not need to be explicitly referenced to each other, so that the coupling is loose and
Memento Pattern)
Code download
1. ConceptCapture the internal state of an object without compromising encapsulation, and save the state outside the object. In this way, the object can be restored to the Saved state.
2. Class Diagram
3. Call
Code download
1. Convert key code --> --> --> --> -->
2. Conversion TypeRendertransform class member:1) translatetransform: enables translation changes to the position of an object.2) rotatetransform: allows an object to be rotated and changed
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