8 B:\programação\Estudando C\estruturas\pilha.c [Warning] useless keyword or type name in empty declaration
e o seguinte erro:
14 B:\programação\Estudando C\estruturas\pilha.c `null' undeclared (first use in this function)
Será se é um problema do Dev? Ou do código?
CODE
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
typedef struct no{
char nome[10];
struct no *prox;
};
struct no *topo;
int main(){
//iniciando a pilha como vazia
topo=null;
getch();
}
#include <stdlib.h>
#include <conio.h>
typedef struct no{
char nome[10];
struct no *prox;
};
struct no *topo;
int main(){
//iniciando a pilha como vazia
topo=null;
getch();
}
Obrigado pela atenção.