摘要:
htonl()函数 将主机的unsigned long值转换成为网络字节顺序(32位)(一般这几跟网络上传输的字节顺序是不通的, 分大小端),函数返回一个网络字节顺序的数字。 #include "stdafx.h" #include<stdio.h> #include<WinSock2.h> #pr 阅读全文
posted @ 2020-05-07 14:50
StudyToAll
阅读(761)
评论(0)
推荐(0)
摘要:
在阅读代码时,看到有这一段,就查了一下CFile.Open()的用法,随笔记录: radar_file1.Open(pParam->str,CFile::modeWrite|CFile::modeCreate| CFile::modeNoTruncate ); CFILE类时MFC的文件基类,他直接 阅读全文
posted @ 2020-05-07 11:41
StudyToAll
阅读(1336)
评论(0)
推荐(0)

浙公网安备 33010602011771号