for (int r = 0; r < rooms; r++)
{
for ( int a = 0; a < apartments; a++)
{
for (int f = 0; f < floors; f++)
{
cin >> Area[f][a][r];
}
}
}
this is a part of my project. In this function i need to take input from the user in a 3-dimensional array. The dimensions could be any thing less than 11. for example if the size of array is 5 * 5 * 5 than total entries are 125. while debugging, i cannot enter all those entries each time i test it . is there any way in visual studio through which i can set all those values once and use that each time i debug it .
转到VC ++项目->属性->调试,然后在命令行参数中输入参数。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.