![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
msdn的学习心得
文章平均质量分 73
dawang2006
这个作者很懒,什么都没留下…
展开
-
msdn学习笔记(三):htons;size_is;
1.htonsThe htons function converts a u_short from host to TCP/IP network byte order (which is big-endian).u_short htons( u_short hostshort);Parametershostshort [in] 16-bit number in host byte o原创 2005-08-12 16:56:00 · 1418 阅读 · 0 评论 -
msdn随手笔记(三)-CRegKey::Open,QueryBinaryValue,SetBinaryValue
1.CRegKey::OpenCall this method to open the specified key and set m_hKey to the handle of this key.LONG Open( HKEY hKeyParent, LPCTSTR lpszKeyName, REGSAM samDesired = KEY_READ | KEY_WRITE原创 2005-08-07 18:47:00 · 2252 阅读 · 0 评论 -
msdn随手笔记(一)-#undef;memcpy, wmemcpy;memmove, wmemmove;sizeof();calloc;Data Type Ranges
1.The #undef DirectiveAs its name implies, the #undef directive removes (undefines) a name previously created with #define.#undef identifierThe #undef directive removes the current definition of ident原创 2005-08-06 16:22:00 · 1808 阅读 · 0 评论 -
msdn随手笔记(二)-printf and wprintf;
1.printf Type Field CharactersThe type character is the only required format field; it appears after any optional format fields. The type character determines whether the associated argument is interp原创 2005-08-07 12:07:00 · 1373 阅读 · 0 评论 -
CString学习心得(二)---------原创
在mfc下,调用CString时候要加入头文件: afx.h; afxstr.h;在atl下,调用CString时候要加入: atlstr.h; 下面是个简单的例子:///////////////////.cpp#include "stdafx.h" .......CString a; CString s[2]; int y[2] = { 10, 11 }; int i; for( i原创 2005-08-09 11:44:00 · 783 阅读 · 0 评论 -
msdn随笔笔记(四)-extern;Linkage Specifications;Linkage;CCriticalSection
1.Using extern to Specify LinkageSyntax linkage-specification : extern declaratorextern string-literal { declaration-listopt }extern string-literal declaration declaration-list : declarationdeclaratio原创 2005-08-21 23:36:00 · 2087 阅读 · 0 评论 -
msdn笔记(六):CAtlFile::Create;File Security and Access Rights;
1.CAtlFile::CreateSee AlsoCAtlFile Overview | Class MembersCall this method to create or open a file.HRESULT Create( LPCTSTR szFilename, DWORD dwDesiredAccess, DWORD dwShareMode, DWORD原创 2005-08-27 12:24:00 · 4166 阅读 · 0 评论 -
msdn随手笔记(五) --size_is;_strnicmp...;GetCommandLine;reinterpret_cast;ATL and MFC String Conversion Macros
1.size_isUse the [size_is] attribute to specify the size of memory allocated for sized pointers, sized pointers to sized pointers, and single- or multidimensional arrays.[ size_is(limited-expression-l原创 2005-08-26 11:09:00 · 2765 阅读 · 0 评论