标签:style blog color os io ar div log sp
#include <iostream> #include <string> using namespace std; int main() { const char str1[] = "abc"; const char str2[] = "abc"; const char *p1 = "abc"; const char *p2 = "abc"; cout << (str1 ==str2) << endl; //0 cout << (p1 == p2) << endl; //1 }
标签:style blog color os io ar div log sp
原文地址:http://www.cnblogs.com/kaituorensheng/p/3946387.html