小编Jos*_*osh的帖子

尝试做这个家庭作业,但我不断收到编译错误

这只是我作业的第一部分,我修复了所有其他编译错误,但我一直收到这个错误,五个.

1>\takehome\main.cpp(39) : error C2065: 'j' : undeclared identifier
1>\takehome\main.cpp(44) : error C2065: 'j' : undeclared identifier
\takehome\main.cpp(45) : error C2065: 'j' : undeclared identifier
\takehome\main.cpp(76) : error C2065: 'j' : undeclared identifier
\takehome\main.cpp(80) : error C2065: 'j' : undeclared identifier
Run Code Online (Sandbox Code Playgroud)

我已经尝试过用它做任何事情,但我可能做错了什么......显然我是.如果你不介意我可以使用一些帮助:).顺便说一句,如果有人想知道,做简单的.

#include <iostream>
using namespace std;

int main()
{
 int memory[100]; //Making it 100, since simpletron contains a 100 word mem.

 int operation; //taking the rest of these variables straight out of the book seeing as how they were …
Run Code Online (Sandbox Code Playgroud)

c++

11
推荐指数
2
解决办法
398
查看次数

标签 统计

c++ ×1