Sometimes output does not work properly, like when using a scanf function, the fix is to just go to vscode settings (this is after already installing code runner) and search "run in terminal" then check "Whether to run code in Integrated Terminal." under "Code-Runner: Run In Terminal".
thank you so much! I followed vscode official instructions for c++ on mac and it did not work (saying program not exist!) but your tutorial works for me! thank you again for the sharing!
click the settings button next to the run button and the select either /C++: clang++ build and debug active file: This option also uses the Clang compiler (clang++) specifically for C++ code. It's similar to the first option but explicitly targets C++ code. or C/C++: g++ build and debug active file: This option uses the GNU Compiler Collection (g++) for building and debugging your active C++ file. g++ is a widely used compiler for C++ programs on Unix-like operating systems. Don't pick the first one
Hello! Thank you very much for this short but informative tutorial! How do you debug if your code requires an input from console? I can't figure out where to enter my input when running my cpp program via VSCode.
i am facing a continuous problem, where if i use vector in my program the binary file is made but it never executes, it just continues to run without giving any output, but it runs in xcode. can you give me any possible solution.🥺
Error " clang: error: linker command failed with exit code 1 (use -v to see invocation)" how to fix it ? my solution : cmd + space -> terminal -> "xcode-select --install" -> open vscode -> next to run button, click setting -> click "C/C++: g++ build and debug active file" -> Start Coding
How to Install XCode on Mac | Install XCode on macOS th-cam.com/video/F6QZ2atZrDw/w-d-xo.htmlfeature=shared
extremely helpful for beginners
bro this video just helped me out so much. you da goat #LoveYou
Thanks Bro i got a lot of helps.🎉
thank you so much !!!❤
Sometimes output does not work properly, like when using a scanf function, the fix is to just go to vscode settings (this is after already installing code runner) and search "run in terminal" then check "Whether to run code in Integrated Terminal." under "Code-Runner: Run In Terminal".
thank you so much
thank you so much! I followed vscode official instructions for c++ on mac and it did not work (saying program not exist!) but your tutorial works for me! thank you again for the sharing!
thanks for the thorough explanation!
Thank you my bro! Very helpful!
thanks man❤
this video helped me a lot. thanks!!
good one , thank you!!
Bro you just. taught me more in 15min more than a cpp tutorial
Please help. I can not get the output in my terminal in vs code.
you are the legend
it gives me this error " clang: error: linker command failed with exit code 1 (use -v to see invocation)" how i can fix it?
yes I have also this problem please tell me how I can fix it
Same
click the settings button next to the run button and the select either /C++: clang++ build and debug active file:
This option also uses the Clang compiler (clang++) specifically for C++ code. It's similar to the first option but explicitly targets C++ code.
or
C/C++: g++ build and debug active file:
This option uses the GNU Compiler Collection (g++) for building and debugging your active C++ file. g++ is a widely used compiler for C++ programs on Unix-like operating systems. Don't pick the first one
I also have the same problem, and I haven't solved it yet🥲
@@kllyncole i clicked then after this what to do next?
Hello! Thank you very much for this short but informative tutorial! How do you debug if your code requires an input from console? I can't figure out where to enter my input when running my cpp program via VSCode.
Thank you!
I followed the same process but when i try to write simple hello world program i am getting include errors for iostream header
have you figured out how to fix it yet?
thanks bro
i am facing a continuous problem, where if i use vector in my program the binary file is made but it never executes, it just continues to run without giving any output, but it runs in xcode. can you give me any possible solution.🥺
thanks
Error " clang: error: linker command failed with exit code 1 (use -v to see invocation)" how to fix it ?
my solution :
cmd + space -> terminal -> "xcode-select --install" -> open vscode -> next to run button, click setting -> click "C/C++: g++ build and debug active file" -> Start Coding
It is showing launch. Json
its taking forever 131 hours to install software why is that
@@rawanmohamed-o3e i don't know man what version of ur vsc
Thankyou bhaiya
i am having errors, that it doenst find the iostream
Same problem
problem with getting user input "Unable to perform this action because the process is running."
Same problem.
How to install on Ubuntu
Unrelated question is there away to use a chart in c# visual studio to show number of employees in each department?
The is reason to use Code Runner? Thanks.
the arrow you see to run code wont be available without code runner, u'll have to user terminal to execute code .
India Wakanda Forever!
where is multiple file running disliked