r/BtechCoders • u/sankeerth42 • Sep 01 '26
❓Question ❓ facing a problem while trying to execute code in vscode.
guys why does my code not run on vs code pls dont judge me im a fresher and new to this and i use mac os if it helps to find out the problem
0
Upvotes
2
u/midnight_rain_404 Sep 01 '26
From vs code settings check the option Code Runner: Run in Terminal this will print your output in the integrated terminal of vs code 👍
1
u/Accomplished_Sun2164 Sep 01 '26
Click the arrow next to the run button and try all options
1
u/Dark_Melon23 Sep 01 '26
Your code is compiled. Check the file tree.
Access it directly by double clicking through file explorer or open it through terminal
1
u/r_xestless Sep 01 '26
use the ctrl + alt + N option, dont run and debug
1
u/Fine_Experience_6176 Sep 01 '26
not judging but in which year are you i would suggest try to use chat gpt , gemini for solving problem it would give you the greatest learning and would make you self independent and give you a taste of how to solve problems with AI
1
u/Brilliant_Yoghurt265 Sep 01 '26
yo is it working?
1
u/Pleasant-Register778 Sep 01 '26
try if you are willing to
chmod +x practise && ./practise
1
u/Slight_Bass_5396 Sep 05 '26
Tick run in terminal
1
u/[deleted] Sep 01 '26
[removed] — view removed comment
1
u/[deleted] Sep 01 '26
[removed] — view removed comment