BEFORE I CONTINUE: I know that this information is probably up somewhere, but I am having trouble finding it and am getting REALLY frustrated.
So, here is the breakdown of my project:
root
arithmetic.cpp
Tokens
tokenizer.h
token_types.h
tokens.h
Interpreter
interpreter.h
I need a command to set the root of the project at root so that interpreter.h can use the path “Tokens/tokens.h”. If you didn’t read the title, I’m using g++, and I am on Windows. Any help would be appreciated, and it would be really awesome if you could tell me where to find this information online. Thanks!
As for how I’m building this, I could be misinterpreting the question, but my plan is to use the tokenizer to and arithmetic.cpp to build a syntax directed interpreter.
Tldr: thanks for the reply, but could u elaborate on the makefile?
Um, hi! Sorry about the ridiculously late response, but I have been looking around the Internet to address my current problem: I CAN’T RUN THE MAKEFILE. The command “make” doesn’t work. The command “mingw-get install mingw32-make”, as instructed by a tutorial, to install the tools needed, ALSO doesn’t work. Any guidance here?