Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Building C++ files.

    General Discussion
    c++
    2
    2
    3089
    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.
    • Mineawesome
      Mineawesome last edited by

      Quick question: Can you compile c++ files and run them in notepad plus plus? If so, can you tell me how?

      1 Reply Last reply Reply Quote 0
      • Scott Sumner
        Scott Sumner last edited by

        This is “sort of” possible, which I’ll explain, but the high number of times this question (or a very similar one about web page coding/displaying) is asked alarms me because it really shows a fundamental misunderstanding. What a large number of people seem to not understand is that Notepad++ is a Text Editor. As such, all it really does is allow you to edit text files, just like standard Notepad. Nobody would ever ask if standard Notepad can “build C++ files”.

        So…you can edit your C++ source files (text files) in Notepad++. And you can setup some “helpers” that Notepad++ can use to invoke your C++ compiler and linker, and you can even set up Notepad++ to tell Windows to run your program and capture its output, but Notepad++ isn’t “building your C++ files” or “running” them…other things are doing that.

        If you understand that, then the NppExec plugin is your key to setting up the helper that builds and runs your C++ code. Do some searching and reading about how that plugin works.

        1 Reply Last reply Reply Quote 3
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors