#pls help
22 messages · Page 1 of 1 (latest)
oh man
@analog schooner has reached level 1. GG!
Hi! I looked, and according to https://code.visualstudio.com/updates/v1_70, the latest version VS Code that supports Windows 7 is 1.70.3. This page https://code.visualstudio.com/docs/supporting/faq#_previous-release-versions has addresses that, as far as I understand, allow you to download older versions VS Code, but I can't test them because I'm using Linux. There's a section Windows 32-bit versions from which I got the link: https://update.code.visualstudio.com/{version}/win32-user/stable, then I inserted the version there, but 1.70.3 wasn't found, so I tried 1.70.2 and it found the version. You could try this: https://update.code.visualstudio.com/1.70.2/win32/stable
oh thank you
You are welcome
@fickle tendon has reached level 1. GG!
what's the problem?
i cant install c/c++ extansion pack
Okay, I googled it. And most likely the problem is that VS Code is trying to download the latest version of the extension, which does not support VS Code 1.70.2. You can try to update VS Code to 1.70.3, which is a special latest release for Windows 7. But you can also try to search for an older version of the extension that supports version 1.70.2 and Windows 7 x86 (for example, some may support 1.70.2, but x86 not). I searched on github (https://github.com/microsoft/vscode-cpptools/tags?after=v1.22.9) for tags that contain downloads and meet the system requirements. Among them, I found: https://github.com/microsoft/vscode-cpptools/releases/tag/v1.21.6. Technically, it should be suitable (you need a vsix file for x86). Then, following the instructions on the page, you can theoretically install the extension via the vsix file
i installed and what i need to do next
@fickle tendon help me pls
@analog schooner has reached level 2. GG!
As far as I understand, you were trying to run C++ code in VS Code. The issue is that the run button in VS Code requires a folder, as VS Code will store project settings in that folder. Furthermore, running C++ code in VS Code requires only the C/C++ extension, as this extension is only responsible for syntax highlighting, hints, etc. A compiler is required for compilation. For Windows, you can install MinGW or MSVC. MinGW is a port of Linux tools to Windows. MSVC is the native compiler. You also need to add the installed compiler to PATH. To avoid fiddling with VS Code settings, you can use the Code Runner extension, but you can also do without it.
but im using notepad++ now
but i dont know how to install NppExec
ig the reason your c++ extension won't install is basically because you're on win 7 32-bit and your vs code version is way too old for the newest stuff in the marketplace. you have to install an older version of the extension manually to make it work. download this specific file here: https://github.com/microsoft/vscode-cpptools/releases/download/v1.11.5/cpptools-win32.vsix
download the file and then you can install it in vs code like i showed you in the screenshot. and once you have it, go into your vs code extensions tab, click the three little dots at the top of the side menu and select install from vsix. just pick the file you downloaded and it should finally install.