c++学习中的问题
hfflib
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
数组名地址为什么和数组第一个元素的地址不同?
#include "stdafx.h" #include using 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 · 1462 阅读 · 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 · 411 阅读 · 0 评论
分享