...
Giáo trình Tin học - Microsoft Word 2000 Menu Format
Biên soạn Nguyễn Quốc Trung - Trang V.9 -
Thẻ Picture:
Lớp Pictures:
Hình V-8
Giáo trình Tin học - Microsoft Word 2000 Menu Format ... lênh Format\ Object.
Tuỳ theo đối tượng hình được chọn mà lệnh sẽ có những biến thể khác nhau
(Format\ AutoShapes, Format\ Text Box, Format\ WordArt…).
Hội thoại F...
... <iostream>
2 using std::cout; // program uses cout
3 using std::cin; // program uses cin
4 using std::endl; // program uses endl
5 // function main begins program execution
6 int main()
7 ... 989 9: 1990
2003 Prentice Hall, Inc. All rights reserved.
21
Decision Making: Equality and Relational
Operators
• using statements
– Eliminate use of std :: prefix
– Write cout instead of s...
... letter grades.
Enter the EOF character to end input.
a
B
c
C
A
d
f
C
E
Incorrect letter grade entered. Enter a new grade.
D
A
b
^Z
Totals for each letter grade are:
A: 3
B: 2
C: 3
D: 2
F: 1
2003 ... std::cout;
5 using std::cin;
6 using std::endl;
7 // function main begins program execution
8 int main()
9 {
10 int total; // sum of grades input by user
11 int gradeCounter; // number of grade...
... reserved.
4
3.2 Program Components in C++
• Modules: functions and classes
• Programs use new and “prepackaged” modules
– New: programmer-defined functions, classes
– Prepackaged: from the standard library ... in seconds
• General shifting and scaling
– Number = shiftingValue + rand() % scalingFactor
– shiftingValue = first number in desired range
– scalingFactor = width of desired range
20...
... // ascending order, and prints the resulting array.
4 #include <iostream>
5 #include <iomanip>
6 using std::cout; using std::endl; using std::setw;
13 void bubbleSort( int *, const ... reserved.
11
2 // Printing a string one character at a time using
3 // a non-constant pointer to constant data.
4 #include <iostream>
6 using std::cout; using std::endl;
9 void printCharacters...
... muốn in ra.
• Mục Page range: giúp xác định giới hạn trang in
o All: Tất cả các trang sẽ được in ra máy in
o Current page: Chỉ in trang hiện tại, tức là chỉ in một trang và trang đó là
trang ... các trang cần in thông qua một danh sách chỉ
số thứ tự các trang. Các trang khác nhau được ngăn cách nhau bởi dấu
phẩy ( , ) và một loạt các trang liên tiếp có thể viết dạng trang đầu...
... SYS: Dng âãø sao chẹp cạc táûp tin hãû thäúng ra âéa.
Cụ phạp: SYS [ äø âéa ngưn :] [ äø âéa âêch :] < Enter >
@ Vê d : Bản mún sao cạc táûp tin hãû thäúng ra âéa A, g lãûnh:
Sys C: A:< ... 2 táûp tin ny thnh mäüt v cọ tãn måïi l bt3.txt trong cng thỉ mủc, ta g lãûnh
sau:
1. Trỉåìng håüp ta âang âỉïng tải äø âéa C:
C:\> Copy C:\Tinhoc\bt1.txt + C:\Tinhoc\...
... bằng nhau.
* Ví d :
Giả sử các ô từ A1 đến A5 chứa giá trị tương ứng là 5, 6, 9, 4, 8
Khi đ : Rank(A1, A1:A5, 1) = 2 (thứ tự tăng: 4, 5, 6, 8, 9)
nhưng: Rank(A1, A1:A5, 0) = 4 (thứ tự giảm: 9, ... thống k :
A B C D E F G
1 5 7 6 =SUM(A1:C1) =MAX(A1:C1) =MIN(A1:C1) =AVERAGE(A1:C1)
2 3 9 8 =SUM(A2:C2) 2 2.57 21.546
3 2 4 7 =SUM(A3:C3) =MOD(B2,E2) =INT(F2) =ROUND(G2,2)
4 6 9 5 =SUM(A4...