我一直在OSX Yosemite下使用Xcode6.3.2在C++中开发一个应用程序,每当我要求操作员使用下面的代码输入参数时,它都工作得很好,除非操作员在键入时出错,并使用键盘上的箭头更正了他的输入。the name of the object : "; cout << "You entered : " << o
我使用Xcode,但是现在我想学习和使用Visual C++,我的第一个挑战是通过一个函数和它的大小作为参数发送和数组,我如何做到这一点?void Llena2(int R, int C, int (*XY)[C]); //in xcode
void Llena2(int R, int C, int (*XY)[C]); //error//error C2466: cannot allocate an array of con