I will post a question for the first time this time. I'm sorry that there are some points that cannot be reached.

I started studying C ++ the other day, but I'm wondering what to do with the development environment.

The first one I used was Visual Studio, which I find very straightforward and easy to use. However, when I look it up, many sites recommend using an editor such as VS Code.

So the question is, is there any merit in using VS Code (editor) + GCC instead of Visual Studio when studying C ++?

I tried using both, but the former can execute operations such as debugging and building without any special settings, while the latter opens a terminal and moves directories using commands to compile. It was very troublesome.

Is it okay to study C ++ in Visual Studio in the future?

  • Answer # 1

    I think Visual Studio is good for developing on Windows.
    VS Code can be used on other platforms, so if you are conscious of something other than Windows?

  • Answer # 2


    If you want to develop Windows apps and device drivers on Windows, Visual Studio is the best choice. It has a lot of information and has a high affinity with Windows.

    I think gcc for Windows refers to MinGW, but gcc is evolving with linux. The "culture" of programming is slightly different between linux and windows. MinGW is a fusion of the two, so there is little information and it tends to be confusing. (Even if you look at the gcc information of linux and try it, there are some cases where it does not work because it is actually Windows. Of course, there are many cases where it works.)

    Is there any merit in using VS Code (editor) + GCC instead of Visual Studio when studying C ++?

    There may be advantages when studying on linux. If there is any merit in using these on Windows, I think that those who are already accustomed to programming in the linux environment should start programming on Windows.
    I don't recommend studying C ++ on Mac. There are many things you can't do without learning Objective-C or Swift's non-C/C ++ language (with very different grammar).

    Is it okay to study C ++ in Visual Studio in the future?

    In the case of Visual Studio, it is still limited to Windows.
    If you already want to move on to embedded systems such as web and home appliances, Visual Studio is not always the best choice. However, if you haven't decided at this point, Visual Studio feels like a good choice because of its high amount of information.

  • Answer # 3

    There are a lot of things to do, such as installing and setting VSCode respectively.
    Visual Studio provides a development environment that requires only one installation

    For the time being, I think I should do it with Visual Studio.
    As I study, I think it's okay to run VS Code when the need for GCC emerges.

  • Answer # 4

    Of course, Microsoft C ++ is useless if it can be targeted outside of the Windows environment. Recently, wsl has come out, and I feel that the linux environment is surprisingly familiar even if there is only a Windows machine. What do you think about that area?

    Still, if only Windows is the target ...
    These days C ++ is greedily incorporating new features. If you want to keep up with the "latest", gcc will bring in new features sooner. However, it will take some time for you to study before you can get the latest features.
    If you are not interested in such "latest", I wonder if either one is fine?

    I think you can use the one you like for Gawa (IDE). Whether you want to work with gcc in Visual Studio or Microsoft C ++ in Visual Studio Code, you can do it if you like.
    However, it is not desirable to be in a state of "I can't do anything with this IDE" when I reach a certain level or higher, regardless of what is allowed by "beginners". Even if you use an IDE, you should understand what happens in it.