由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - VC++ does not support strlen()
相关主题
《Inside Windows Debugging》英文文字版/EPUB[PDF]《.NET中的持续集成》英文文字版[PDF]
如何编程实现以下简单的组合问题《ActiveMQ 实战》(ActiveMQ in Action)英文文字版[PDF]
请问如何实时处理Analog信号呀?《Python编程(第4版) 涵盖Python3.X》英文文字版[PDF]
《iOS 4 实战》英文文字版/更新源代码[PDF]《Python标准库示例》英文文字版[PDF]
《Entity Framework 4 实战》PDF]《移植应用程序到IPv6》英文文字版[PDF]
《O'Reilly The Missing Manual 系列图书》英文文字版[PDF]《虚拟化:管理者指南》英文文字版[PDF]
《Clojure编程乐趣》英文文字版[PDF]《Mastering AutoCAD Civil 3D 2012》英文版[PDF]
《SQL Server DMVs 实战》英文文字版[PDF]在用C写shell,遇到问题
相关话题的讨论汇总
话题: c++话题: strlen话题: std话题: does话题: support
进入Programming版参与讨论
1 (共1页)
i**p
发帖数: 902
1
Just found VC++ does not support this function.
error LNK2001: unresolved external symbol _strlongth
p***o
发帖数: 1252
2
You must be kidding me.

【在 i**p 的大作中提到】
: Just found VC++ does not support this function.
: error LNK2001: unresolved external symbol _strlongth

i**p
发帖数: 902
3
http://www.acceleratedcpp.com/details/msbugs.html
Chapter 12
Similar to the problems in Chapters 6 and 8, where VC++ 6.0 fails to include
the character classification functions (isalpha, isalnum, isspace etc.) as
part of the std namespace, it also fails to include the strlen function in
std. The workaround is analogous: Omit the qualification of std::strlen.
For example, in the Str constructor that takes a const char*:
#ifdef _MSC_VER
std::copy(cp, cp + strlen(cp), std::back_inserter(data));
#el

【在 p***o 的大作中提到】
: You must be kidding me.
p***o
发帖数: 1252
4
这跟你的 error LNK2001: unresolved external symbol _strlongth
有啥关系?

include
as

【在 i**p 的大作中提到】
: http://www.acceleratedcpp.com/details/msbugs.html
: Chapter 12
: Similar to the problems in Chapters 6 and 8, where VC++ 6.0 fails to include
: the character classification functions (isalpha, isalnum, isspace etc.) as
: part of the std namespace, it also fails to include the strlen function in
: std. The workaround is analogous: Omit the qualification of std::strlen.
: For example, in the Str constructor that takes a const char*:
: #ifdef _MSC_VER
: std::copy(cp, cp + strlen(cp), std::back_inserter(data));
: #el

i**p
发帖数: 902
5
That is why I came here.

【在 p***o 的大作中提到】
: 这跟你的 error LNK2001: unresolved external symbol _strlongth
: 有啥关系?
:
: include
: as

p***o
发帖数: 1252
6
Please post your code. Every line.

【在 i**p 的大作中提到】
: That is why I came here.
1 (共1页)
进入Programming版参与讨论
相关主题
在用C写shell,遇到问题《Entity Framework 4 实战》PDF]
《Professional jQuery (第1版)》英文文字版/EPUB[PDF]《O'Reilly The Missing Manual 系列图书》英文文字版[PDF]
《Intel® 64 and IA-32体系结构:软件开发人员手册》文字版[PDF]《Clojure编程乐趣》英文文字版[PDF]
《Pro iOS Table Views》英文文字版/EPUB[PDF]《SQL Server DMVs 实战》英文文字版[PDF]
《Inside Windows Debugging》英文文字版/EPUB[PDF]《.NET中的持续集成》英文文字版[PDF]
如何编程实现以下简单的组合问题《ActiveMQ 实战》(ActiveMQ in Action)英文文字版[PDF]
请问如何实时处理Analog信号呀?《Python编程(第4版) 涵盖Python3.X》英文文字版[PDF]
《iOS 4 实战》英文文字版/更新源代码[PDF]《Python标准库示例》英文文字版[PDF]
相关话题的讨论汇总
话题: c++话题: strlen话题: std话题: does话题: support