Community
    • Login

    please help to compile c and make the output exe file on windows 7

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    5 Posts 4 Posters 4.2k 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.
    • Rohit KumarR
      Rohit Kumar
      last edited by

      I am a biginer and learing C, I am using notepad ++ to learn c, kindly help me to know how we can use complile the program and make the output exe file to test it in windows 7.
      Thanks in advance
      Rohit

      1 Reply Last reply Reply Quote 0
      • dailD
        dail
        last edited by

        Notepad++ is used for just editing text. It’s not specifically made to compile C code (although it is technically possible). Since you are learning C I’d recommend an actual Integrated Development Environment (IDE) which is made to handle not only editing code, but also compiling and running it. Notepad++ isn’t actually an IDE. There are lots of free ones available.

        1 Reply Last reply Reply Quote 0
        • Jay SinnettJ
          Jay Sinnett
          last edited by

          I, too, am pretty much a beginner with Notepad++. But I LOVE it compared to trying to use the Arduino IDE.
          So, can someone clarify: exactly what is possible with a “plugin” and what is not? In other words, could I call PlatformIO directly from NPP as my compiler for the (mostly C++) code used for my 3D printer? PlatformIO as I currently use it requires me to open a CMD window and type in some rather long and specific commands. It would be great if a plugin could automate that for me. I would have to set it up, of course, but only once.

          1 Reply Last reply Reply Quote 0
          • Jay SinnettJ
            Jay Sinnett
            last edited by

            Well, I just answered my own question. The “Run…” menu command allows me to point to a Batch file that does all the messy typing for me. And I can give that batch file a name (using “Save”) so that it’s easy to find without having to navigate directories. Two clicks and I’ve got my program compiled.
            This program is great!

            1 Reply Last reply Reply Quote 0
            • Jan SchreiberJ
              Jan Schreiber
              last edited by

              You might also want to have a closer look at the NppExec plugin. It will catch and display any compiler output in a dockable panel.

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