microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
164.2k stars 29.29k forks source link

output #219656

Closed ksy2912 closed 4 months ago

ksy2912 commented 4 months ago

Type: Bug

while running any going using test case my code always gives Exit code: 1 Errors while compiling: g++: error: c:\Users\khush\OneDrive\??????\c++ assignment\B_Roof_Construction.cpp: Invalid argument g++: fatal error: no input files compilation terminated. error while running a output eg output should be 0 1 2 0 1 3 2 1 0 4 4 6 3 2 0 8 9 1 7 5 but its giving this Exit code: 1 Errors while compiling: g++: error: c:\Users\khush\OneDrive\??????\c++ assignment\B_Roof_Construction.cpp: Invalid argument g++: fatal error: no input files compilation terminated. in output section

VS Code version: Code 1.90.2 (5437499feb04f7a586f677b155b039bc2b3669eb, 2024-06-18T22:34:26.404Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 x 3793)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.29GB (3.10GB free)| |Process Argv|--crash-reporter-id 00d88b42-cb71-4330-9408-55bf8c1a70b3| |Screen Reader|no| |VM|0%|
Extensions (23) Extension|Author (truncated)|Version ---|---|--- competitive-programming-helper|Div|2024.6.1719243911 code-runner|for|0.12.2 snippets-plus|hea|1.4.0 rainbow-csv|mec|3.12.0 python|ms-|2024.8.1 cmake-tools|ms-|1.18.42 cpptools|ms-|1.20.5 cpptools-extension-pack|ms-|1.3.0 live-server|ms-|0.4.13 java|red|1.32.0 mocker-vscode|sky|0.1.46 ayu|tea|1.0.5 cmake|twx|0.0.17 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1 vscode-java-debug|vsc|0.58.0 vscode-java-dependency|vsc|0.23.7 vscode-java-pack|vsc|0.27.0 vscode-java-test|vsc|0.41.1 vscode-maven|vsc|0.44.0 vscode-icons|vsc|12.8.0 cmake-test-tools|yif|0.2.6 material-theme|zhu|3.17.2 (4 theme extensions excluded)
A/B Experiments ``` vsliv368:30146709 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscoreces:30445986 vscod805cf:30301675 binariesv615:30325510 vsaa593:30376534 py29gd2263:31024239 c4g48928:30535728 azure-dev_surveyone:30548225 962ge761:30959799 pythongtdpath:30769146 welcomedialog:30910333 pythonnoceb:30805159 asynctok:30898717 pythonregdiag2:30936856 pythonmypyd1:30879173 2e7ec940:31000449 pythontbext0:30879054 accentitlementsc:30995553 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 cppperfnew:31000557 dsvsc020:30976470 pythonait:31006305 jchc7451:31067544 chatpanelt:31048053 dsvsc021:30996838 jg8ic977:31013176 pythoncenvpt:31062603 a69g1124:31058053 dvdeprecation:31068756 dwnewjupyter:31046869 legacy_priority:31082724 ```
vscodenpa commented 4 months ago

We closed this issue because it is a question about using VS Code rather than an issue or feature request. Please search for help on StackOverflow, where the community has already answered thousands of similar questions. You may find their guide on asking a new question helpful if your question has not already been asked. See also our issue reporting guidelines.

Happy Coding!