How to compile programs in notepad++?

  • Thread starter Thread starter pairofstrings
  • Start date Start date
  • Tags Tags
    Programs
Click For Summary

Discussion Overview

The discussion revolves around how to compile programs using Notepad++, focusing on the challenges users face in finding a compile button and understanding the necessary configurations to run compilers from the editor. The scope includes technical explanations and user experiences related to programming environments.

Discussion Character

  • Technical explanation
  • Debate/contested

Main Points Raised

  • Some participants express confusion about the absence of a compile button in Notepad++, questioning if there is a shortcut key for compilation.
  • One participant suggests that Notepad++ is merely a text editor and does not include a built-in compiler, indicating that users need to configure it to call an external compiler.
  • There are inquiries about which compiler participants are using and how to provide the path for it within Notepad++.
  • Several participants recommend alternative programs for writing, compiling, and running C/C++ programs, including Dev-CPP and Visual Studio, while noting their preferences for different environments.
  • Some participants mention Cygwin, but there is a disagreement about its classification as an IDE or editor.

Areas of Agreement / Disagreement

Participants generally agree that Notepad++ does not have a built-in compiler and requires configuration to work with external compilers. However, there are multiple competing views regarding the best alternative programs for compiling and running code.

Contextual Notes

Participants have not resolved the specifics of configuring Notepad++ with compilers, and there are varying opinions on the suitability of different programming environments.

Who May Find This Useful

Users looking for guidance on compiling code in Notepad++, as well as those seeking alternative programming environments for C/C++ development.

pairofstrings
Messages
411
Reaction score
7
I cannot find the compile button anywhere in the program. Is there a shortcut key to compile the programs in notepad++?
Thanks!
 
Technology news on Phys.org
pairofstrings said:
I cannot find the compile button anywhere in the program. Is there a shortcut key to compile the programs in notepad++?
Thanks!

Maybe you are looking for something like this:

http://npp-community.tuxfamily.org/documentation/notepad-user-manual/commands

You will have to use the right variables and look at the compiler command line arguments, but this should do the trick.

What compiler are you using?
 
Last edited by a moderator:
chiro said:
What compiler are you using?
I was thinking maybe notepad++ will compile my written code and then run it. I don't know how to provide the path for a compiler.
I found the 'run' button under 'Run' menu but couldn't find compile button... therefore, I asked if there is any predefined short-cut key in notepad++ to compile the program.
 
pairofstrings said:
I cannot find the compile button anywhere in the program.
Thanks!

You should be aware, that Notepad++ is "just" an editor without any compiler, not a full blown development environment. If you want to run a compiler from Notepad++ you need to have a compiler installed for the language in question and you must then configure Notepad++ to call this compiler.
 
Can anyone tell me any program where I can write, compile and run few C/C++ programs in Windows.
 
pairofstrings said:
Can anyone tell me any program where I can write, compile and run few C/C++ programs in Windows.

Dev-CPP is a good fit for your needs:

http://www.bloodshed.net/devcpp.html

It's completely free and has a lot of features.

Personal note: I think the visual studio environment is a tonne better (and I prefer VC 6.0 to the later versions), but dev-cpp is still ok.
 
Cygwin.
 
swartzism said:
Cygwin.

is not an IDE or an editor :rolleyes:
 
  • #10
Do you know what visual editor is? :rolleyes:
 

Similar threads

  • · Replies 29 ·
Replies
29
Views
4K
Replies
6
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 25 ·
Replies
25
Views
4K
Replies
4
Views
5K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
3K