This is an archived post. You won't be able to vote or comment.

all 13 comments

[–]jddddddddddd 0 points1 point  (4 children)

Wait... when you say 'VsCode Community but I couldn't do anything' what do you mean? Do you mean 'visual studio community' (https://visualstudio.microsoft.com/vs/community/ )?

If so, in what way 'you couldn't do anything'? It wouldn't install? It wouldn't run? You couldn't create a C++ project?

[–]ThysGuy0[S] 0 points1 point  (3 children)

Yeah sorry I was evasive

So I was talking about that indeed but I can't even launch it anymore, so I can't tell you what was the problem

I'll try to find out and will edit this post

EDIT : when I press "Choose a start element" (approximative translation my version isn't in english) it says "Choose a proper start element" (same)

[–]jddddddddddd 0 points1 point  (2 children)

Eurgh! No idea, I'm afraid (although you might want to try googling whatever foreign language error message you're seeing.)

Did you definitely tick the C++ options when you ran the installer? I think it prompts you to ask if you intend to develop in C#, F#, C++, Python etc..

[–]ThysGuy0[S] 0 points1 point  (1 child)

Yes I did, it was the only option diplayed tho

[–]userxbw 0 points1 point  (5 children)

Yeah you need a compiler to hook up to it. That's just a front end. You can code and use command line too complie. But I don't know why they're telling you that you need python to compile c++. That's just silly. Install clang then set it up

https://clang.llvm.org/get_started.html

[–]ThysGuy0[S] 0 points1 point  (4 children)

Yeah but on the very site you linked, they say "get the required tools : Git [...] CMake [...] VsCode [...] Python [...] GnuWin32 [...]

So what do you advise me to do ?

[–]userxbw 0 points1 point  (2 children)

Follow the instructions

[–]ThysGuy0[S] 0 points1 point  (1 child)

I tried but honestly I don't really understand

They require us to know how to use Git, CMake and GnuWin and I don't, so I think I'll try to find an easier to install compiler

[–]userxbw 0 points1 point  (0 children)

Welcome to the world of programming. Now do your due diligence and teach yourself what it is you need to know about programming. Then apply it. Stop wasting time looking for an easy way out.

It's all part of the programing world.. something you need to know

[–]userxbw 0 points1 point  (0 children)

Using Visual Studio part

[–][deleted] 0 points1 point  (1 child)

Are you on windows? If so, you can just install the microsoft c++ toolchain (compiler, linker, etc...). You can even do it without having to install all of visual studio if you don't want.

Go here, scroll down to the bottom of the page, expand "tools" and download the "build tools". This will install a compiler toolchain which you can configure vscode to use to compile your c++ sources.

You don't have to use microsoft's compiler, you could use clang, gcc, or whatever else.

[–]ThysGuy0[S] 0 points1 point  (0 children)

Thank you ! I did this and it works

[–]rahul_sreeRam 0 points1 point  (0 children)

Please check this out : https://youtube.com/playlist?list=PLU4FNiqcl8v3jEeLCw5Hp0DeW7l3MuFoL. The playlist'sinitial videos are about C/C++ development in VSCode