S
Sam_Mason
Guest
Hello,
I have just recently downloaded Visual Studio Code, only to find that I'm in over my head...
I followed the steps from "Getting Started With C++ & Minw-w64 in Visual Studio Code" from the VSCode website:
( LINK: Get Started with C++ and Mingw-w64 in Visual Studio Code )
Once completing the steps, I tried to run a simple C program:
#include <stdio.h>
int main() {
printf("hi");
return 0;
}
Only to find out that my attempts are in vain! It could not compile due to these errors:
--------------------------------------------------------------------
> Executing task: g++ -g -o Test Test.cpp < // Test.cpp ---> name of workspace file
g++.exe: error: Test.cpp: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
The terminal process terminated with exit code: 1
--------------------------------------------------------------------
I've tried refining the process multiple times, paying more attention as I do each step.
I've even tried to move the Test folder into the Compiler Path: C:\\MING\bin\ and that
didn't work either. I'm not sure how to proceed. Any help will be greatly appreciated!
Continue reading...
I have just recently downloaded Visual Studio Code, only to find that I'm in over my head...
I followed the steps from "Getting Started With C++ & Minw-w64 in Visual Studio Code" from the VSCode website:
( LINK: Get Started with C++ and Mingw-w64 in Visual Studio Code )
Once completing the steps, I tried to run a simple C program:
#include <stdio.h>
int main() {
printf("hi");
return 0;
}
Only to find out that my attempts are in vain! It could not compile due to these errors:
--------------------------------------------------------------------
> Executing task: g++ -g -o Test Test.cpp < // Test.cpp ---> name of workspace file
g++.exe: error: Test.cpp: No such file or directory
g++.exe: fatal error: no input files
compilation terminated.
The terminal process terminated with exit code: 1
--------------------------------------------------------------------
I've tried refining the process multiple times, paying more attention as I do each step.
I've even tried to move the Test folder into the Compiler Path: C:\\MING\bin\ and that
didn't work either. I'm not sure how to proceed. Any help will be greatly appreciated!
Continue reading...