# C++ alternative IDE

**URL:** <https://forum.codewithmosh.com/t/c-alternative-ide/14480>\
**Category:** C++\
**Created:** [August 17, 2022, 8:44am UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480 "2022-08-17T08:44:32Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![annadema](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/annadema/32/83_2.png) [@annadema](https://forum.codewithmosh.com/u/annadema)\
**Post date:** [August 17, 2022, 8:44am UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/1 "2022-08-17T08:44:32Z")

</div>

Who else is using Visual Studio instead of Clion to write code for the C++ Course?  
It would be useful to share info about perfect settings.

---

<div class="post-metadata">

**Author:** ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)\
**Post date:** [August 17, 2022, 4:03pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/2 "2022-08-17T16:03:45Z")

</div>

I’m trying to use VSCode. I have just been following the standard guide for running C++ code in VSCode:

> **[C++ programming with Visual Studio Code](https://code.visualstudio.com/docs/languages/cpp)**
>
> Find out how to get the best out of Visual Studio Code and C++.

---

<div class="post-metadata">

**Author:** ![annadema](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/annadema/32/83_2.png) [@annadema](https://forum.codewithmosh.com/u/annadema)\
**Post date:** [August 17, 2022, 4:31pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/3 "2022-08-17T16:31:03Z")

</div>

Yes, VScode is powerful for everything: I’ve used it a lot for every other course by Mosh 🙂 If I have a problem there is a great community on which I can count on the web!  
But now I started to use Visual Studio 2017 for C++  
(to come back to origin 😉  
I started programming a lot of time ago using Microsoft Visual C++ )

But I noticed that there is some difference in the compiler behavior respect what Mosh obtains using Clion.  
I downloaded the same compiler as CLion ( MinGW) but I wasn’t able to set it in Visual studio.  
For now I left the idea and I’m continuing coding not worrying about the differences no more 😉

---

<div class="post-metadata">

**Author:** ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)\
**Post date:** [August 17, 2022, 4:44pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/4 "2022-08-17T16:44:20Z")

</div>

Perhaps Visual Studio has a setting where you can choose the same target version (I think Mosh used C++20). In theory, any compiler should work if it targets the same target version.

---

<div class="post-metadata">

**Author:** ![annadema](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/annadema/32/83_2.png) [@annadema](https://forum.codewithmosh.com/u/annadema)\
**Post date:** [August 17, 2022, 5:11pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/5 "2022-08-17T17:11:15Z")

</div>

![2022-08-17 19_06_18-Window](https://us1.discourse-cdn.com/flex020/uploads/codewithmosh/original/2X/4/40f2510e91fcc2cded6312a3103afce3c0c8145f.jpeg)  
Yes! I’ve already tried it but nothing changed ☹  
It should be this setting in the Property page of the project:  
choosing the selected one it should be the C++20 version.

---

<div class="post-metadata">

**Author:** ![jmrunkle](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/jmrunkle/32/3765_2.png) [@jmrunkle](https://forum.codewithmosh.com/u/jmrunkle)\
**Post date:** [August 17, 2022, 5:35pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/6 "2022-08-17T17:35:07Z")

</div>

Are there specific differences you are seeing in the output? Might make it easier to narrow in on the cause.

---

<div class="post-metadata">

**Author:** ![UniqueNospaceShort](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/uniquenospaceshort/32/1814_2.png) [@UniqueNospaceShort](https://forum.codewithmosh.com/u/UniqueNospaceShort)\
**Post date:** [August 17, 2022, 6:19pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/7 "2022-08-17T18:19:21Z")

</div>

Did you try any of [these](https://www.educative.io/blog/best-cpp-ides-code-editors)?

Also you can use Glade and gcc/g++ if you’re brave enough. 😁

---

<div class="post-metadata">

**Author:** ![satthecoder](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.codewithmosh.com/satthecoder/32/5890_2.png) [@satthecoder](https://forum.codewithmosh.com/u/satthecoder)\
**Post date:** [September 3, 2022, 5:15am UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/8 "2022-09-03T05:15:19Z")

</div>

Sublime Text is my best choice

---

<div class="post-metadata">

**Author:** ![Helmut](https://avatars.discourse-cdn.com/v4/letter/h/cab0a1/32.png) [@Helmut](https://forum.codewithmosh.com/u/Helmut)\
**Post date:** [October 1, 2022, 12:26pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/9 "2022-10-01T12:26:22Z")

</div>

I used CLion, XCode and Qt Creator. They are all good.

---

<div class="post-metadata">

**Author:** ![Cattrina](https://avatars.discourse-cdn.com/v4/letter/c/a9a28c/32.png) [@Cattrina](https://forum.codewithmosh.com/u/Cattrina)\
**Post date:** [November 29, 2022, 12:48pm UTC](https://forum.codewithmosh.com/t/c-alternative-ide/14480/10 "2022-11-29T12:48:13Z")

</div>

I am using Visual Studio Common 2022. I highly recommend anyone using older versions to switch to it.
