yesterday I installed Ubuntu on my Windows 10 PC so I can install the CS50 library and use Make
as well and I have been trying to diagnose the problem since, when I add #include <cs50.h>
to my C file it gives me this error: #include errors detected. Please update your includePath. Squiggles are disabled for this translation unit (G:\Visual Studio Code\hello.c).C/C++(1696) cannot open source file "cs50.h"C/C++(1696)
So I need to find the CS50 library on windows and I have no idea where and make doesn't seem to work correctly (or at least like the IDE, and yes the terminal is open in the same folder of the C file):
lychas@Jaffer-PCs:/mnt/g/Visual Studio Code$ make make: *** No targets specified and no makefile found. Stop.
lychas@Jaffer-PCs:/mnt/g/Visual Studio Code$ make hello cc hello.c -o hello make: cc: Command not found make: *** [<builtin>: hello] Error 127
lychas@Jaffer-PCs:/mnt/g/Visual Studio Code$ make hello.c make: Nothing to be done for 'hello.c'.
I have no idea how to fix them or what to google to find the fix for them, any help would be nice!