MrXiao的小窝
  • Activity Calendar

    Loading...

    Radar Chart

    Loading...

    Release Chart

    Loading...

    Classification Chart

    Loading...

    Tag Chart

    Loading...

  • New thing
    New thing
MrXiao
  • Good afternoon, it 's time to take a nap

  • Navigation
  • Home
  • 相册
  • API & Toys
  • Github
  • Components
  • Categories
    • Categories
    • 19Python
    • 16技术折腾
    • 11生存指南
    • 1我的相册
    • 旧文归档
      • 9深度学习
      • 7数据结构与算法
      • 6C++
      • 1数学
    • 2Code Snippet
    • 0金融投资与理财
  • Pages
    • Pages
    • 我的Github仓库
    • 我在云上捣鼓的一些玩具
    • 文章归档
    • 我的说说
  • Links
    • Links
    • 魏巨的博客
Admin
Post
Comment

Articles in the category of C++

  1. Home
  2. C++

[STL] string类常用成员函数、误区总结

length():返回string长度,size()有相同效果。需要注意的是,string的length()操作并不会像C中的string.h中定义的strlen一样扫描整个字符串,理论性能更优,附strlen实现代码。#include <stdlib.h> size_t strlen( char *string ) //size_t stddef.h中定义的类型 等价于unsi...

  • MrXiao
  • April 20, 2019
  • No comments
    1. 1
    2. 2
    • Popular articles
    • Latest comments
    • Random articles
    Popular articles
    • 在中国,当亲友遭遇非法集资型诈骗,与警察打交道时要注意些什么?(第一次报警纪实&经验总结)

      浏览次数: 187943
    • 每日自动打新可转债 你也想半年白捡1600块吗? Auto-Make-Money项目手记

      浏览次数: 40400
    • Windows服务器 断开远程桌面RDP后保持桌面活跃(active)的方法

      浏览次数: 29358
    • PyTorch DistributedDataParallel 单机多卡训练 踩坑记录

      浏览次数: 26975
    • MMDetection v1.x 升级至 v2.x:模型与配置文件升级的踩坑记录

      浏览次数: 16395
    Latest comments
    • 布塞法洛
      国区Paypal只能是人民币余额吗?
    • 我想当科学家
      该评论仅登录用户及评论双方可见
    • 栗宝
      使用Payoneer提回招行的话,是否也受5000刀阈值的限制...
    • 张三
      可以实现多个不同用户(我,我爸我妈)进行自动打新吗
    • 徐
      断开后分辨率立马变了,这个怎么办?
    Random articles
    • 每日自动打新可转债 你也想半年白捡1600块吗? Auto-Make-Money项目手记

      浏览次数: 40400
    • Python/Django 对接第三方一清支付平台支付猫 实现个人用户低费率接入支付宝、微信

      浏览次数: 3174
    • 位运算在程序设计中的奇淫技巧

      浏览次数: 2460
    • 特征值、特征向量的几何意义与求解步骤 奇异值分解的含义

      浏览次数: 5361
    • MMDetection v1.x 升级至 v2.x:模型与配置文件升级的踩坑记录

      浏览次数: 16395
    Blog Info
    • 62Posts Num
    • 101Comments Num
    • 6 Y 127 DOperating Days
    • 1 Year AgoLast activity
    广告
    Tag cloud
    代码 函数 文件 信息 int return 对象 逻辑 计算机 import print 变量 专业 python 目录 概念 class 模块 o 程序 type 学长 语句 from 本科 学期 const 编译 工具 else
    Article Directory
    PoweredTypecho
    |
    ThemeHandsome
    |
    静态文件托管UPYUN
    © 2025 Copyright 
    Copyright©2023 GodKillerXiao
    |
    湘ICP备19001780号-1