t**********s 发帖数: 930 | 1 Background 是这样:
In a C program, you have a data structure with satellite data defined as
follows:
struct my_data {
float height;
char *name;
double computed value;
};
Because this is satellite data, you must access it through some other data
structure. (That is, you don't have an array of just these satellite data.)
...... |
q********c 发帖数: 1774 | 2
)
recall hash table?
【在 t**********s 的大作中提到】 : Background 是这样: : In a C program, you have a data structure with satellite data defined as : follows: : struct my_data { : float height; : char *name; : double computed value; : }; : Because this is satellite data, you must access it through some other data : structure. (That is, you don't have an array of just these satellite data.)
|
t**********s 发帖数: 930 | 3 不明白
【在 q********c 的大作中提到】 : : ) : recall hash table?
|
S*****n 发帖数: 227 | 4 字面上看,应该在说什么卫星数据吧。
)
【在 t**********s 的大作中提到】 : Background 是这样: : In a C program, you have a data structure with satellite data defined as : follows: : struct my_data { : float height; : char *name; : double computed value; : }; : Because this is satellite data, you must access it through some other data : structure. (That is, you don't have an array of just these satellite data.)
|
t**********s 发帖数: 930 | 5 字面意思我懂,但还是不清楚到底说什么,这样吧,把原问题贴全:
In a C program, you have a data structure with satellite data defined as
follows:
struct my_data {
float height;
char *name;
double computed value;
};
Because this is satellite data, you must access it through some other data
structure. (That is, you don't have an array of just these satellite data.)
Your most convenient access is through iterator functions: you can call
first() to get a pointer to the first my_data structure and next()
【在 S*****n 的大作中提到】 : 字面上看,应该在说什么卫星数据吧。 : : )
|
S*****n 发帖数: 227 | 6 看起来是让你设计算法,分析复杂性。没什么特别的地方啊。
)
【在 t**********s 的大作中提到】 : 字面意思我懂,但还是不清楚到底说什么,这样吧,把原问题贴全: : In a C program, you have a data structure with satellite data defined as : follows: : struct my_data { : float height; : char *name; : double computed value; : }; : Because this is satellite data, you must access it through some other data : structure. (That is, you don't have an array of just these satellite data.)
|
c*****t 发帖数: 1879 | 7 把 statellite 这个字忽略了看。在这里没什么重要的意思。
)
【在 t**********s 的大作中提到】 : 字面意思我懂,但还是不清楚到底说什么,这样吧,把原问题贴全: : In a C program, you have a data structure with satellite data defined as : follows: : struct my_data { : float height; : char *name; : double computed value; : }; : Because this is satellite data, you must access it through some other data : structure. (That is, you don't have an array of just these satellite data.)
|