我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

'nodes' does not name a type是怎么回事?

#include
#include
#include
#include
#include<stdio.h>
#include
#include
#include
#define INF 0x3f3f3f3f
#define MAX 100000

struct Node{
int w,x,y,z;
int close;
};
Node nodes[MAX];

void getBana()
{
int w,x,y,z;
int m,n;
int head, tail;
memset(pa,-1,sizeof(pa));
head = tail = 0;

nodes[tail].w = a;
    nodes[tail].x = 0;
    nodes[tail].y = b;
    nodes[tail].z = 0;
    

想问一下为什么这里一直显示 'nodes' does not name a type,需要怎么改啊?

struct Node nodes[MAX];

近期文章

  • html用css怎么样才能不让父子div不重合
  • 为什么C语言在for循环里不能定义字符?
  • 🎉️ 程序设计 - 允许并列的排名
  • 's' is not defined 但是上面已经定义了
  • IDEA中Error:scalac报错怎么改呀?
  • c++今日日期到生日天数
  • Antd table 数据量庞大,很卡
  • C语言运行不了 下面的提示看不懂
  • 无序单链表删除所有重复元素
  • Python课后习题怎么书写需要初级一点
  • 从键盘任意输入ABC的值编程计算并输出一元二次方程ax^2+bx+c=0的根较小的先输出根据一元二次方程的公式……
  • 帮我看看出现什么问题了~
  • C语言程序设计教程 大一上机题
  • 大一c语言指针习题(第四题
  • C语言修改。里面那里错了。改一下
  • vscode exe文件位置重新更改不能解决
  • 如何用jquery实现小米官网下拉菜单
  • 搭建好的克隆的虚拟机出错了怎么办
  • c语言给四个数字算24
  • 求帮助matlab里面的问题我不明白

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华