我有家务劳动。 我不想让任何人为我做工作,但我只想稍有麻烦,尽管我接受关于其他界限的建议。
任务是:
采用两维动力阵列撰写一个班级。
施工人穿透阵列的各个方面。 施工人员还将动态阵列中的所有数值与增长指数乘以一栏指数。
- Swap two columns of the two-dimensional array, where the column indexes are passed in as parameters. Do this just by copying addresses, not values of column elemnets.
- Delete a column of the two-dimensional array, where the column index is passed in as a parameter. Do not just use the delete operator on the column array and set the horizontal array element to NULL. Shrink the size of the horizontal array by 1.
- Create a print function for the class to print out the values of the two-dimensional array and make sure that your functions are working correctly. After you know that they are working correctly, delete the print function.
我需要帮助了解如何在私营部门宣布2D阵列。 并且,如上所述,如果任何人能够给我以其他内容,说明如何做到这一点,将不胜感激。