![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
c++学习中的问题
hfflib
这个作者很懒,什么都没留下…
展开
-
数组名地址为什么和数组第一个元素的地址不同?
#include "stdafx.h"#includeusing namespace std;int _tmain(int argc, _TCHAR* argv[]){ string word; word="apple"; cout<<&word<<endl; cout<<&"apple"<<endl; system("pause"); return 0;}原创 2016-10-16 15:40:05 · 1409 阅读 · 0 评论 -
continue下面的space++为什么不计算字母字符的个数!!!
continue下面的space++为什么不计算字母字符的个数!!!// practice6-12.cpp : 定义控制台应用程序的入口点。//#include "stdafx.h"#include const int ArSize = 80;int main(){ using namespace std; char line[ArSize]; int spaces = 0原创 2016-10-20 11:22:59 · 283 阅读 · 0 评论