• Login
Community
  • Login

Am i using the updated C++?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 4 Posters 702 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    HumblenHungry
    last edited by Aug 24, 2019, 2:34 AM

    Im new to programming and i found notepad++ to be gentle to newbie like me. I managed to compile and run C++ program in Notepad++ using this link . But correct me if im wrong but the standard C++ used is c++11? Then i simply changed the 11 to 17. And it still works fine. Granted that even if i did not change the 11 to 17, it will still works just fine.

    My question is the C++ im using the latest version?.

    Thnks

    A 1 Reply Last reply Aug 24, 2019, 12:43 PM Reply Quote 0
    • N
      Nom
      last edited by Aug 24, 2019, 3:59 AM

      Are you asking whether C++17 is the latest iteration of C++?

      In terms of released, yes. In terms of experimental, then it’s C++20.

      1 Reply Last reply Reply Quote 1
      • A
        Alan Kilborn @HumblenHungry
        last edited by Aug 24, 2019, 12:43 PM

        @Nom said:

        Are you asking whether C++17 is the latest iteration of C++?

        And WHY would you ask this here; this place is about Notepad++ and the “meat” of this question has nothing to do with Notepad++. See here .

        1 Reply Last reply Reply Quote 0
        • S
          Steven Haymes
          last edited by Aug 24, 2019, 9:44 PM

          First this is probably not a question for the Notepad++ forum and more of a question for a C++ forum.

          There was not reason to install Cygwin if all you wanted was a C/C++ compiler. My guess is that Cygwin probably includes the MinGW C/C++ compiler which is a bit dated but works. I have used it along with the C/C++ compiler in the free community version of Microsoft Visual Studio. Note that Microsoft Visual Studio is a huge program compared to Notepad++ and MinGW.

          As a newbie, I would not be concerned about using the latest and greatest C/C++ compiler. I have my Notepad++ set up to lint (pre-runtime debug), compile and run C/C++ using NppExec. First look at the NppExec documentation and second do a search for “NppExec C/C++” and see what you find.

          There are better links out there to set up Notepad++ for C/C++ then the one that you provided. It is often best to look at a few links before you chose to go with the first one that you find.

          Steve

          1 Reply Last reply Reply Quote 0
          • S
            Steven Haymes
            last edited by Aug 24, 2019, 9:49 PM

            PS: If you are new to programming, C/C++ is not the best language to learn how to program. Once you get into pointers and addresses which are central to C/C++, it is going to get real weird real fast. I learned C back in the 1980’s from some AT&T engineers. Today, if you want to learn how to program, Python is an excellent starting language.

            1 Reply Last reply Reply Quote 0
            2 out of 5
            • First post
              2/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors