Community
    • Login

    NP++ does not show me the message on the console

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    2 Posts 2 Posters 263 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.
    • Alejandra BernalA
      Alejandra Bernal
      last edited by Alejandra Bernal

      notepad.png

      does not show me the message (Hola mundo)

      I have NppExec
      Script: NPP_SAVE
      cd “$(CURRENT_DIRECTORY)”
      C:\MinGW\bin\g++.exe “$(FILE_NAME)”

      Programming language: C++

      dinkumoilD 1 Reply Last reply Reply Quote 0
      • dinkumoilD
        dinkumoil @Alejandra Bernal
        last edited by dinkumoil

        @Alejandra-Bernal

        I don’t know how to use g++ from the command line, but I guess if you call it like you did it will create an executable file with some kind of default name and then terminates. Thus, the message regarding the started process with PID 5744 from your screenshot is about g++ itself and not about the created executable.

        Try to add the following as the last line of your NppExec script:

        $(CURRENT_DIRECTORY)\$(NAME_PART).exe
        

        If this doesn’t work, add some command line options to the line where g++ is called to tell the compiler where to create the output file and which name to use.

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