C++ 一定会经历的常见错误
C++ 一定会经历的常见错误
C++ 一定会经历的常见错误
我第一次接触C++是在2013年,那时候我刚刚学了PHP,其实我是没有打算去学C++的,只是因为随着学的东西越多,发现用C++写的库和项目太多了。学习一下方便学习别人的算法和思想,以便提升自己。 还记得我的...
#include <iostream> using namespace std; int addnum(int a,int b) { return a+b; } int ...
#include <iostream> using namespace std; int main() { if(1+1==2) { cout << "1+1=2"; }...
#include<iostream> using namespace std; int main() { int x=0; for(x=0;x<10;x++) { if(x==3) break;...
/*C风格字符串的声明和使用 #include<cstdio.h> int main() { char x[]={'H','e','l','l','o','&...