Re: ��未�����呀��
- 作者
- "��" <nukq@smth.org>
- 日期
�� �� windsmi (笑��) �拇������到: ��
: �� ��: Re: ��未�����呀��
: ����站: BBS 水木�华站 (Mon Nov 3 19:18:50 2003)
:
: ������呀�����值拇����牵�
: E:\vcprogram\NetCli\NetCliDlg.cpp(309) : error C2664: 'send' : cannot convert
: parameter 2 from 'float *' to 'const char *'
: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style
: cast or function-style cast
: �� �� nukq (��) �拇������到: ��
: :
: : �� �� windsmi (笑��) �拇������到: ��
: : : ������台����要�互����荩����玫���send��rece���������������只���源�char..
: : : ��������������要�玫亩���float ��荩���没�写�float����莸暮���呀�����没�..
: : : ��什么�梅�����
: :
: : ����什么���投���
: : float a;
: :
: : send(sock,&a,sizeof(a),0);
(const char*)&a
: : ...................
:
: --
:
: [m[36m�� ��源:��BBS 水木�华站 http://smth.org��[FROM: 210.72.135.32][m
[m[1;32m�� ��源:��BBS 水木�华站 smth.org��[FROM: 218.108.174.243][m