首页 > 解决方案 > 在c ++ 14中从.txt文件读取二维数组

问题描述

尝试使用 2d 或 3d 数组存储来自 .txt 文件的问题,但我无法弄清楚。.txt 文件如下所示

Where does a C++ program begin is execution?
The first function in the file
The first function by alphabetic order of names
The function main( )
The function specified in the #DEFINE First Function

How many values can be returned from a function by means of the "return" statement?
1
2
3
Lots and Lots

问题数量最多为 20 个,每个问题有 4 个答案。问题之间至少有一个空行。我也必须展示它们,但我可以弄清楚那部分。

标签: c++

解决方案


推荐阅读