|
|
|
проблемы с типом переменной
|
|||
|---|---|---|---|
|
#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 |
|
||
|
проблемы с типом переменной
|
|||
|---|---|---|---|
|
#18+
unsigned *length это unsigned int *length ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 13.02.2004, 20:16 |
|
||
|
|

start [/forum/topic.php?fid=57&msg=32409415&tid=2035402]: |
0ms |
get settings: |
11ms |
get forum list: |
14ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
76ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 202ms |
| total: | 357ms |

| 0 / 0 |
