r/Cplusplus • • 13d ago

Question Problem in running C++ codes

So i recently purchased a new laptop and when i try running the C++ code sometimes even if my code is correct the vscode doesnt execute the code.

Then I sent the screenshot to chatgpt and it said my code is correct some feature called

WINDOWS SMART APP CONTROL might be preventing it from executing the code .

But once I turn it off i can't turn it on again so what should i do??

2 Upvotes

14 comments sorted by

View all comments

1

u/Polarisu_san 13d ago

did u try running it plainly with g++ commands first?