![]() ![]() ![]() I also tried the following but I still get tons of undefined reference for every function outside of main. Here is what my tasks.json file looks like. I want to run it inside of vscode so I don't always have to create a new exe (makes it easier for testing / debugging) and so that I don't have to type in all of the file names in. I have however been able to run single files inside of vscode without trouble. gcc -o test.exe main.c getch.c getop.c stack.c This is why I assume it's an issue with my vscode settings here is what I typed into the terminal. ![]() I have been able to compile it into an exe via the terminal and I can confirm it runs perfectly. I have watched multiple videos and read countless other posts about this but nothing so far has been able to resolve my issue. I am using vscode (on windows 10) and I am trying to figure out how to compile my code into an exe and how to run it inside of vscode but I keep getting an undefined reference error. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |