new第8章善于使用指针(2734KB).pptVIP

  • 14
  • 0
  • 约1.73万字
  • 约 114页
  • 2018-04-09 发布于未知
  • 举报
8.5.1 指针使用的技巧 P239 void copy_string(char *from, char *to) { while((*to=*from)!=’\0’) { to++; from++; } } while((*to++=*from++)!=’\0’) ; 8.5.1 指针使用的技巧 P239 void copy_string(char *from, char *to) { while((*to=*from)!=’\0’) { to++; from++; } } while(*from!=’\0’) { *to++; *from++; } 8.5.1 指针使用的技巧 P239 void copy_string(char *from, char *to) { while(*from!=’\0’) { *to++; *from++; } } while(*from) 8.5.1 指针使用的技巧 P239 void copy_string(char *from, char *to) { while(*to++=*from++) ; } for( ; (*to++=*from++); ) ; 8.5.2 多维数组的指针 指针变量可以指向一

文档评论(0)

1亿VIP精品文档

相关文档