摘要:
Execute a sequence of statements multiple times and abbreviates the code that manages the loop variable. do...while loop Like a ‘while’ statement, exc 阅读全文
摘要:
#include <iostream> #include <ctime> #include <cstdlib> using namespace std; int main () { int i,j; // set the seed srand( (unsigned)time( NULL ) ); / 阅读全文
摘要:
#include <iostream> using namespace std; const int MAX = 8; int main () { int var[MAX] = {10, 100, 200,2,3,5,7,11}; int *ptr[MAX]; for (int i = 0; i < 阅读全文
摘要:
https://www.tutorialspoint.com/cplusplus/cpp_multi_dimensional_arrays.htm
an array with 5 rows and 2 colums. 5 行 2 列 阅读全文