抱歉,请教个弱智问题,关于VC++的MSDN

zgrcn 2016-11-11 03:38:13
抱歉,请教个弱智问题:
我有十年没有写程序了,记得以前在VC6时代,电脑上安装了MSDN,可以快速查C++各种关键字、函数的用法,我怎么百度了半天也没有找到VS2015时代的MSDN呢,现在VS2015时代,还有MSDN这玩意吗?如果没有了,那我要查关键字、函数用法到哪里去查啊?
...全文
100 11 打赏 收藏 转发到动态 举报
写回复
用AI写文章
11 条回复
切换为时间正序
请发表友善的回复…
发表回复
paschen 2016-11-11
  • 打赏
  • 举报
回复
在线的MSDN足矣 另外可以直接在VS中光标移到要查找的函数,然后按F1即会自己打开
060 2016-11-11
  • 打赏
  • 举报
回复
VS2010后离线MSDN的安装方式不一样了。 在VS的帮助菜单中,打开“帮助查看器”,在查看器的帮助栏中有一个“管理内容”按钮,在管理内容页面中,可以选择安装源 在线或磁盘,选择要使用的文档集合。
赵4老师 2016-11-11
  • 打赏
  • 举报
回复
字符串那些事儿:BSTR-LPSTR-LPWSTR-CString-VARIANT-COleVariant-_variant_t-CComBSTR-_bstr_t http://blog.csdn.net/pizi0475/archive/2010/03/04/5346708.aspx
赵4老师 2016-11-11
  • 打赏
  • 举报
回复
CString Class Members Construction The String as an Array Assignment/Concatenation Comparison Extraction Other Conversions Searching Archive/Dump Buffer Access Windows-Specific Construction CString Constructs CString objects in various ways. The String as an Array GetLength Returns the number of characters in a CString object. For multibyte characters, counts each 8-bit character; that is, a lead and trail byte in one multibyte character are counted as two characters. IsEmpty Tests whether a CString object contains no characters. Empty Forces a string to have 0 length. GetAt Returns the character at a given position. operator [] Returns the character at a given position — operator substitution for GetAt. SetAt Sets a character at a given position. operator LPCTSTR Directly accesses characters stored in a CString object as a C-style string. Assignment/Concatenation operator = Assigns a new value to a CString object. operator + Concatenates two strings and returns a new string. operator += Concatenates a new string to the end of an existing string. Comparison operator == <, etc. Comparison operators (case sensitive). Compare Compares two strings (case sensitive). CompareNoCase Compares two strings (case insensitive). Collate Compares two strings (case sensitive, uses locale-specific information). CollateNoCase Compares two strings (case insensitive, uses locale-specific information). Extraction Mid Extracts the middle part of a string (like the Basic MID$ function). Left Extracts the left part of a string (like the Basic LEFT$ function). Right Extracts the right part of a string (like the Basic RIGHT$ function). SpanIncluding Extracts a substring that contains only the characters in a set. SpanExcluding Extracts a substring that contains only the characters not in a set. Other Conversions MakeUpper Converts all the characters in this string to uppercase characters. MakeLower Converts all the characters in this string to lowercase characters. MakeReverse Reverses the characters in this string. Replace Replaces indicated characters with other characters. Remove Removes indicated characters from a string. Insert Inserts a single character or a substring at the given index within the string. Delete Deletes a character or characters from a string. Format Format the string as sprintf does. FormatV Formats the string as vsprintf does. TrimLeft Trim leading whitespace characters from the string. TrimRight Trim trailing whitespace characters from the string. FormatMessage Formats a message string. Searching Find Finds a character or substring inside a larger string. ReverseFind Finds a character inside a larger string; starts from the end. FindOneOf Finds the first matching character from a set. Archive/Dump operator << Inserts a CString object to an archive or dump context. operator >> Extracts a CString object from an archive. Buffer Access GetBuffer Returns a pointer to the characters in the CString. GetBufferSetLength Returns a pointer to the characters in the CString, truncating to the specified length. ReleaseBuffer Releases control of the buffer returned by GetBuffer. FreeExtra Removes any overhead of this string object by freeing any extra memory previously allocated to the string. LockBuffer Disables reference counting and protects the string in the buffer. UnlockBuffer Enables reference counting and releases the string in the buffer. Windows-Specific AllocSysString Allocates a BSTR from CString data. SetSysString Sets an existing BSTR object with data from a CString object. LoadString Loads an existing CString object from a Windows resource. AnsiToOem Makes an in-place conversion from the ANSI character set to the OEM character set. OemToAnsi Makes an in-place conversion from the OEM character set to the ANSI character set. CString Overview | Hierarchy Chart
赵4老师 2016-11-11
  • 打赏
  • 举报
回复
引用 6 楼 zgrcn 的回复:
谢谢! 可否就以此为例,我要处理字符串,要查出有哪些可用函数,怎么搞呢?
你还可以找我: String Manipulation These routines operate on null-terminated single-byte character, wide-character, and multibyte-character strings. Use the buffer-manipulation routines, described in Buffer Manipulation, to work with character arrays that do not end with a null character. String-Manipulation Routines Routine Use _mbscoll, _mbsicoll, _mbsncoll, _mbsnicoll Compare two multibyte-character strings using multibyte code page information (_mbsicoll and _mbsnicoll are case-insensitive) _mbsdec, _strdec, _wcsdec Move string pointer back one character _mbsinc, _strinc, _wcsinc Advance string pointer by one character _mbslen Get number of multibyte characters in multibyte-character string; dependent upon OEM code page _mbsnbcat Append, at most, first n bytes of one multibyte-character string to another _mbsnbcmp Compare first n bytes of two multibyte-character strings _mbsnbcnt Return number of multibyte-character bytes within supplied character count _mbsnbcpy Copy n bytes of string _mbsnbicmp Compare n bytes of two multibyte-character strings, ignoring case _mbsnbset Set first n bytes of multibyte-character string to specified character _mbsnccnt Return number of multibyte characters within supplied byte count _mbsnextc, _strnextc, _wcsnextc Find next character in string _mbsninc. _strninc, _wcsninc Advance string pointer by n characters _mbsspnp, _strspnp, _wcsspnp Return pointer to first character in given string that is not in another given string _mbstrlen Get number of multibyte characters in multibyte-character string; locale-dependent sprintf, _stprintf Write formatted data to a string strcat, wcscat, _mbscat Append one string to another strchr, wcschr, _mbschr Find first occurrence of specified character in string strcmp, wcscmp, _mbscmp Compare two strings strcoll, wcscoll, _stricoll, _wcsicoll, _strncoll, _wcsncoll, _strnicoll, _wcsnicoll Compare two strings using current locale code page information (_stricoll, _wcsicoll, _strnicoll, and _wcsnicoll are case-insensitive) strcpy, wcscpy, _mbscpy Copy one string to another strcspn, wcscspn, _mbscspn, Find first occurrence of character from specified character set in string _strdup, _wcsdup, _mbsdup Duplicate string strerror Map error number to message string _strerror Map user-defined error message to string strftime, wcsftime Format date-and-time string _stricmp, _wcsicmp, _mbsicmp Compare two strings without regard to case strlen, wcslen, _mbslen, _mbstrlen Find length of string _strlwr, _wcslwr, _mbslwr Convert string to lowercase strncat, wcsncat, _mbsncat Append characters of string strncmp, wcsncmp, _mbsncmp Compare characters of two strings strncpy, wcsncpy, _mbsncpy Copy characters of one string to another _strnicmp, _wcsnicmp, _mbsnicmp Compare characters of two strings without regard to case _strnset, _wcsnset, _mbsnset Set first n characters of string to specified character strpbrk, wcspbrk, _mbspbrk Find first occurrence of character from one string in another string strrchr, wcsrchr,_mbsrchr Find last occurrence of given character in string _strrev, _wcsrev,_mbsrev Reverse string _strset, _wcsset, _mbsset Set all characters of string to specified character strspn, wcsspn, _mbsspn Find first substring from one string in another string strstr, wcsstr, _mbsstr Find first occurrence of specified string in another string strtok, wcstok, _mbstok Find next token in string _strupr, _wcsupr, _mbsupr Convert string to uppercase strxfrm, wcsxfrm Transform string into collated form based on locale-specific information vsprintf, _vstprint Write formatted output using a pointer to a list of arguments
zgrcn 2016-11-11
  • 打赏
  • 举报
回复
谢谢! 可否就以此为例,我要处理字符串,要查出有哪些可用函数,怎么搞呢?
fefe82 2016-11-11
  • 打赏
  • 举报
回复
右上角有个搜索框,第一个结果就是。 中文,现在最多只能有机器翻译的结果吧 ...
zgrcn 2016-11-11
  • 打赏
  • 举报
回复
隐约记得以前我要查字符串处理的方法,在VC6的MSDN中就可以很方便查到相关的函数,现在怎么操作呢?
zgrcn 2016-11-11
  • 打赏
  • 举报
回复
谢谢! 再弱智请教下: 就是F1吗?打开后感觉是个论坛,我试了下,查询LoadLibraryEx的用法,搜出很多相关帖子,但没有这个函数的使用方法说明,记得VC6时代的MSDN好像是可以查到具体使用说明,并且是中文的(其实也记不清了)。 就是这么使用的吗,F1之后搜索?
fefe82 2016-11-11
  • 打赏
  • 举报
回复
https://msdn.microsoft.com/en-us/default.aspx
赵4老师 2016-11-11
  • 打赏
  • 举报
回复
在线MSDN啊

33,311

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 新手乐园
社区管理员
  • 新手乐园社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧