while ((*strDest++=*strSrc++)!='/0'); 分解成单条语句
来源:互联网 发布:淘宝哪里看自己的等级 编辑:程序博客网 时间:2024/05/16 06:23
while(1)
{
char temp;
temp=*strDest=*strSrc;
strDest++;
strSrc++;
if(temp=='/0')
break;
}
或者说
while(*strSrc!='/0')
{
*strDest=*strStr;
strDest++;
strStr++;
}
*strDest=*strSrc;
- while ((*strDest++=*strSrc++)!='/0'); 分解成单条语句
- while((*strDest++=*strSrc++)!='\0')
- a+++b与while( (*strDest++ = * strSrc++) != ‘/0’ ) --转载
- 思考:((*strDest++=*strSrc++)!='\0');
- ((*strDest++=*strSrc++)!='\0') 的理解
- ((*strDest++=*strSrc++)!='\0'); 的理解
- ((*strDest++=*strSrc++)!='\0'); 的理解
- ((*strDest++=*strSrc++)!='\0'); 的理解
- 面试题:char * strcpy(char * strDest,const char * strSrc);
- 字符串拷贝函数 char *strcpy(char *strDest, const char *strSrc)
- 重写strcpy函数 char *StrCpy(char *strDest, const char *strSrc)
- 面试题:char * strcpy(char * strDest,const char * strSrc);
- 已知strcpy的函数原型:char *strcpy(char *strDest, const char *strSrc)其中strDest 是目的字符串,strSrc 是源字符串。不调用C++/C
- 宏语句 do{/*...*/}while(0)
- while语句
- while 语句
- while语句
- while语句
- 设计模式之Command 二
- ASP.NET中常用的26个优化性能方法
- js获取页面元素位置函数(浏览器兼容)
- 从Oracle网站的兼容bug谈网站的兼容与查错开发
- Write Your Own Operating System Tutorial(中文版) - 简介
- while ((*strDest++=*strSrc++)!='/0'); 分解成单条语句
- Google 节日徽标全集 (1999-2009) (中)
- 你还在用if else吗?
- Write Your Own Operating System Tutorial(中文版) - Lesson 1: 引导扇区
- 编译原理: Big_endian, Little_endian 问题
- Write Your Own Operating System Tutorial(中文版) - Lesson 2: 着手我们第一张启动盘
- Write Your Own Operating System Tutorial(中文版)- Lesson 3: NASM
- 内存占有计算
- Write Your Own Operating System Tutorial(中文版)- Lesson 4: Hello, World