When I try to compile including the file stack.h
my GCC gives me the error "No such file or directory"
gcc -std=c99 -Wall -o Ou1 ou1.c -I C:\Users\NAME\Documents\C programmering\DOA\stack.h
The code looks like this:
#include <stdio.h>
#include <stdbool.h>
#include "stack.h"
I've tried to change its folder and changing the .h
to .c
and the .c
to .h
.