Quantcast
Viewing all articles
Browse latest Browse all 22045

VSCode including header file in c

I'm trying to work with my header files in c. When i use code blocks, it handles the header include part, but in vs code, i couldn't figure it out yet. this is what i get in vs code. The files are in the same folder. I am using gcc.

#include "assPQ.h"

. . .

PS C:\Users\xxx\Desktop\xxxx\ass> cd "c:\Users\xxx\Desktop\xxxx\ass\" ; if ($?) { gcc coffeeShopSimulator.c -o coffeeShopSimulator } ; if ($?) { .\coffeeShopSimulator }
c:/mingw/bin/../lib/gcc/mingw32/8.2.0/../../../../mingw32/bin/ld.exe: C:\Users\xxx\AppData\Local\Temp\cc6RasGF.o:coffeeShopSimulator.c:(.text+0xf): undefined reference to `CreateListPQ'

Viewing all articles
Browse latest Browse all 22045

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>