c++ - C2664 conversion error -
i beginner in programming language , need help. have got codes c language needed written c++ mfc.
in c language have codes int32 float64 , when put them mfc application, showed error.
error c2664: cannot convert parameter 5 'float [1000]' 'float64 []' error c2664: cannot convert parameter 7 'int *' 'int32 *' how convert int32/float64 int/float type codes? kind do. thank you
ps. may know * behind int32* means??
as know int32 means 32 bit integer, meaning 4 bytes.
if have used sizeof inbuilt function check size of int on machine , proceed there.
http://en.wikipedia.org/wiki/64-bit#64-bit_data_models
if sizes equal on machine can use static_cast cast int32 int variable type.
Comments
Post a Comment