The problem is that whenever I try to manually use #include <x>, where x is the library (or whatever you call it, sorry I am new to the langauge). Iostream, ctime, and others do not work, which is hindering my progress. I also submitted this as a issue via github.
Build Output:
Code: Select all
C:\WINDOWS\system32\cmd.exe /C "C:/TDM-GCC-64/bin/mingw32-make.exe -j4 SHELL=cmd.exe -e -f Makefile"
"----------Building project:[ Time - Debug ]----------"
mingw32-make.exe[1]: Entering directory 'C:/Users/dylan/Desktop/Time'
mingw32-make.exe[1]: Leaving directory 'C:/Users/dylan/Desktop/Time'
mingw32-make.exe[1]: Entering directory 'C:/Users/dylan/Desktop/Time'
C:/TDM-GCC-64/bin/gcc.exe -c "C:/Users/dylan/Desktop/Time/main.c" -g -O0 -Wall -o ./Debug/main.c.o -I. -I.
C:/Users/dylan/Desktop/Time/main.c:2:20: fatal error: iostream: No such file or directory
compilation terminated.
mingw32-make.exe[1]: *** [Debug/main.c.o] Error 1
Time.mk:97: recipe for target 'Debug/main.c.o' failed
mingw32-make.exe[1]: Leaving directory 'C:/Users/dylan/Desktop/Time'
Makefile:4: recipe for target 'All' failed
mingw32-make.exe: *** [All] Error 2
2 errors, 0 warnings
Code: Select all
#include <stdio.h>
#include <iostream>
#include <ctime>
int main(int argc, char **argv)
{
printf("hello world\n");
return 0;
}