C++ 一定会经历的常见错误
C++ 一定会经历的常见错误
C++ 一定会经历的常见错误
首先让我们来看一个最简单的C++程序:#include <iostream> using namespace std; int main() { cout << ...
#include <iostream> using namespace std; int main() { if(1+1==2) { cout << "1+1=2"; }...
#include<iostream> using namespace std; int main() { cout << "The size of int is&nb...
#include<iostream> using namespace std; int sum(int a,int b);//函数声明 int main() { cout <<&nb...
/*C风格字符串的声明和使用 #include<cstdio.h> int main() { char x[]={'H','e','l','l','o','&...
#include<iostream> using namespace std; struct books{ char name[10]; int num; float price; }book; int&nb...