|
|
|
проблемы с типом переменной
|
|||
|---|---|---|---|
|
#18+
в библиотеках для работы с устройством есть функция int i_get_rec(unsigned *length, unsigned char ** data, unsigned char port); так вот непонятно что означает эта запись "unsigned *length" причем если объявить переменную типа const unsigned char recive_size=7; unsigned char len; unsigned char buf[100]; и вызвать функцию i_get_rec(&len, &buf, 1); то портится содержимое констант объявленных внутри функции до unsigned char len; т.е. после вызова функции recive_size не равно 7 ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.02.2004, 20:14:21 |
|
||
|
проблемы с типом переменной
|
|||
|---|---|---|---|
|
#18+
unsigned *length это unsigned int *length ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.02.2004, 20:16:04 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=57&tid=2035402]: |
0ms |
get settings: |
9ms |
get forum list: |
21ms |
check forum access: |
6ms |
check topic access: |
6ms |
track hit: |
52ms |
get topic data: |
15ms |
get forum data: |
4ms |
get page messages: |
61ms |
get tp. blocked users: |
2ms |
| others: | 357ms |
| total: | 533ms |

| 0 / 0 |
