小编ale*_*lex的帖子

C++代码问题

我对这段代码有些问题.我想显示... 12345 12345 12345

但我得到一个错误说...

错误1错误C3861:'displayOneRowOfDesign1':找不到标识符

有人可以帮忙吗?

// displays (on the screen) design1 
void displayDesign1 ()
{
  system ("cls"); // clears the screen

  // the entire for loop displays all three rows 
  for (int r = 1; r <= 3; r++)
  { // One iteration of the body of this loop displays row number r.
    // In other words, when r is 1, row 1 is displayed; 
    //                 when r is 2, row 2 is displayed; ...
    displayOneRowOfDesign1 ();
  } …
Run Code Online (Sandbox Code Playgroud)

c++

2
推荐指数
1
解决办法
104
查看次数

标签 统计

c++ ×1