摘要: 题目链接 题目要求: Given two stringssandt, determine if they are isomorphic. Two strings are isomorphic if the characters inscan be replaced to gett. Al... 阅读全文
posted @ 2015-06-21 19:56 峰子_仰望阳光 阅读(267) 评论(1) 推荐(0) 编辑
摘要: 本文将主要从static在C和C++共有的作用及C++特有的作用两个方面进行解析。在C和C++中共有的作用隐藏(对变量、函数均可) 当同时编译多个文件时,所有未加static前缀的全局变量或全局函数都具有全局性。举例来说明,同时编译两个源文件,一个是a.c,另一个是main.c,如下:1 //... 阅读全文
posted @ 2015-06-21 12:05 峰子_仰望阳光 阅读(2027) 评论(0) 推荐(0) 编辑