Description: 1. Read the codes carefully on page 230 and page 248 of the book,
or on page 247 and page 266 of the electronic book, then answer
the questions as below:
1.1 Describe the main data structure of Stack;
1.2 Describe the differences in the data storage of Stash and Stack.
Notice: You can answer in English or Chinese.
2. Create a program that opens a text file in English and counts
the words number in that file.
3. Define an array of int. Take the starting address of that array
and use static_cast to convert it into and void*. Write a function
that takes a void*, a number(indicating a number of bytes), and a
value(indicating the value to which each byte should be set) as
arguments. The function should set each byte in the specified range
to the spcified value. Try out the function on your array of int.
4. Create a class Point, and finish the following functions as below:
4.1 Define two member variables, coordX and coordY
To Search:
File list (Check if you may need any files):
1120141884-刘晶晶\exper1-1.docx
.................\exper1-2.cpp
.................\exper1-3.cpp
.................\exper1-4.cpp