toUpper函数的源代码 [英] Source Code for toUpper Function

查看:221
本文介绍了toUpper函数的源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在学习C ++,所以请善待。有什么地方我可以吗?
查看toUpper函数的源代码?谢谢。

I am learning C++, so please be kind. Is there anywhere that I can
view the source code for the toUpper function? Thanks.

推荐答案


Ja ******** @ gmail.com 写道:

我正在学习C ++,所以请善待。有什么地方我可以吗?
查看toUpper函数的源代码?谢谢。
I am learning C++, so please be kind. Is there anywhere that I can
view the source code for the toUpper function? Thanks.



您可以下载带GCC的标准C​​库。

You can download the standard C library with GCC.


Ja ******** @ gmail.com 写道:
Ja********@gmail.com wrote:

我正在学习C ++,所以请善待。有什么地方我可以吗?
查看toUpper函数的源代码?谢谢。
I am learning C++, so please be kind. Is there anywhere that I can
view the source code for the toUpper function? Thanks.



没有来源。只要行为符合标准要求,每个实现都可以自由地将它写成

方式。

例如,使用ASCII的人可能会看一眼它的当前值

如果当前处于小写状态,则设定一个设定值。范围。


尝试搜索toupper.c以找到一些实现。


Brian


-

请不要顶尖。你的回复属于以下或穿插

与适当修剪的报价。查看

新闻组或小组常见问题列表中的大多数其他帖子:

< http://www.parashift.com/c++-faq-lite/ how-to-post.html>

There is no "the source". Each implementation is free to write it the
way they want, as long as the behavior is what the standard requires.
For instance, one that uses ASCII might take a peek its current value
and subject a set value if its currently in the "lowercase" range.

Try doing a search for toupper.c to find some implementations.


Brian

--
Please don''t top-post. Your replies belong following or interspersed
with properly trimmed quotes. See the majority of other posts in the
newsgroup, or the group FAQ list:
<http://www.parashift.com/c++-faq-lite/how-to-post.html>



Ja ********@gmail.com 写道:

我正在学习C ++,所以请善待。有什么地方我可以吗?
查看toUpper函数的源代码?谢谢。
I am learning C++, so please be kind. Is there anywhere that I can
view the source code for the toUpper function? Thanks.



从未听说过上午。


看看ctype.h的C答案并注意toupper(。 ..)

根据< cctype>成为std :: toupper(...)。

Never heard of toUpper.

Take a look at ctype.h for a C answer and note that toupper(...)
becomes std::toupper(...) according to <cctype>.


这篇关于toUpper函数的源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆