(คลิกขวาเลือก install)
C++ - การสร้างไดนามิกอาร์เรย์
                      -
                    
ตัวอย่างการสร้างเมทริกซ์ โดยใช้ Dynamic Memory Allocation ใน C++
int** array = new int*[dim]; 
for(int i = 0; i < dim; i++)
array[i] = new int[dim]; 
จากโค...
15 years ago
No comments:
Post a Comment