I'm really new to programming just started last week, and i have a problem where my c-file doesn't recognize the cs50.h file when it's in the same folder as my program. i have msys2 installed.
I don't know how to proceed.
I'm really new to programming just started last week, and i have a problem where my c-file doesn't recognize the cs50.h file when it's in the same folder as my program. i have msys2 installed.
I don't know how to proceed.
Using <header_here.h> takes them from some system wide directory (not sure for windows but for linux it is /usr/include/
that has these header files.
For the current path use #include "headername_here.h" instead.
#include "cs50.h"