Visual Studio Code is a completely different program from Visual Studio. Visual Studio Code is a cross-platform code editor with plugins that enable IDE-like properties. It doesn't include a compiler for any language. If you write C or C++ with VSCode you need to use GCC or Clang as the compiler.
GCC is pre-installed and ready to use.
I can't tell if that is that a statement or a question.
a IDE for compilers to C (gcc) and C++ (g++) is the IDE Geany, it's easy, simple, handy, and already pre-installed.nick8967 wrote: ↑Wed Oct 02, 2019 7:19 amHello,
I want to write code on C/C++ on Rpi 3 B+. Is there any reliable IDE to help me on that? Is C/C++ officially supported (as python) by Rpi or I should do "tricks" and result in doing nothing? Of course I will use libraries on C/C++ so I search for a "mainstream" solution...
I somehow doubt the honesty of your said reaction to vi. There's nothing wrong with vi (though vim has replaced vi nowadays) although for some strange reason vim-basic is the default installed version (probably more compatible with the original vi). The first thing I do is uninstall that and install the full-fat vim, there's so much of vim missing in vim-basic that I'm sure vim-basic puts newcomers off.
Exactly what I do. I'll see if I can lobby the RPF folks (in the same way I did for ntfs-3g) to get that fixed.
Wow, did you say vim was a crutch? How many crutches do you need to make any progress? It's amazing you can even stand up.For programming on the Pi one would need a mouse, a comfortable File menu, several tabs, colored code highlighting, symbols and docs side bar, auto-intend, check for brackets/nesting levels, compile-error checking and highlighting feat. a jump to either code line a.s.o., compile+build+run out of the IDE,
Odd thing that.If I type vi in the console it's just an ugly b+w text-box.
Code: Select all
gcc: fatal error: no input files compilation terminated.
Yes. So why did you mention vi again?..and don't forget: this topic is about a beginner to C(++) programming on the Pi who is asking about an IDE.