面试经历
文章平均质量分 86
HerveyHuang
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
凯思面试经历转置一个string
1、倒序输出string原创 2014-09-29 19:55:19 · 1246 阅读 · 0 评论 -
不使用sizeof(),判断当前系统是16位或者32位
#include int main(int argc,char* agrv[]){ int* p = NULL; int* pNext = p + 1; int res = (int)pNext; int nSystemBit = res<<3; std::cout<<nSystemBit<<std::endl; int i = 65536; std::cout <<原创 2014-10-01 13:40:12 · 1358 阅读 · 0 评论 -
str的各种函数原型strcat、strcpy等
strlen原型原创 2014-10-03 16:17:23 · 3455 阅读 · 0 评论 -
srting的类构造函数、析构函数、拷贝构造函数与赋值构造函数
#pragma once#include #include #include #include using namespace std;//自己写函数 http://blog.youkuaiyun.com/herveyhuang/article/details/39755991unsigned int mystrlen(const char* str);char* mystrcat(cha原创 2014-10-03 16:30:14 · 721 阅读 · 0 评论 -
易宝面试
一、改错题(两处错误)char *getErrorType(int nErrorID){char strErrorID1[] = “no exit”;char strErrorID2[] = “not available”;swith(nErrorID){case 1:return strErrorID1;case 2:return strErrorID2;defau原创 2014-10-01 13:59:20 · 1431 阅读 · 0 评论
分享