All Questions
52
questions
0
votes
1
answer
981
views
How to include Libraries without an IDE
I just downloaded the MingW Compiler and the glfw and glad libraries. i set up Notepad++ to compile with mingW and now i cant figure out how to include the above mentiond libraries. do i have to put ...
0
votes
1
answer
430
views
Notepad++ NppExec console warning, need explanation "C++"
I've tried using Notepad++ to code c++ and followed a few tutorials on youtube, here's what I did:
-Installed gcc/g++ compiler using mingw64
-Installed NppExec plugin on N++
-Typed in the following ...
0
votes
2
answers
327
views
MinGw doesn't execute the program if file name has spaces
So I use notepad++'s NppExec to directly compile and execute C++ files.
npp_save
cd "$(CURRENT_DIRECTORY)"
g++ "$(FILE_NAME)" -o $(NAME_PART) -march=native -O3
NPP_RUN $(NAME_PART)
...
0
votes
1
answer
596
views
Script for Notepad++ NppExec for C++ in ubuntu
I just switched to ubuntu and I wanted to setup notepad++ for CPP.
So I used the NppExec plugin to compile within notepad++,
My script was :
npp_save
g++ "$(FULL_CURRENT_PATH)" -o "$(...
0
votes
0
answers
3k
views
Is there any way to create an executable file using c++ and an online IDE
So here's the situation. I have been using ms access vba for automation at my job. I have access to ms access and notepad++ only with the nppexec plugin. However, g++ is not installed as far as I can ...
0
votes
0
answers
341
views
Script for running c++ inside Notepad++ without extra white line
I have a C++ script as follows:
NPP_SAVE
cd $(CURRENT_DIRECTORY)
g++ -o "$(NAME_PART).exe" "$(FULL_CURRENT_PATH)"
"$(NAME_PART).exe"
I try to compile my first C++ programming, print Hello, World.
#...
0
votes
0
answers
262
views
How can I open files using filestream in Notepad++ and cmd? C++
I'm confused about how to open/access a file using Notepad++ and the cmd with MinGW compiler. I understand the file needs to be in the same scope however, I'm not sure where. I have tried placing the ....
0
votes
3
answers
493
views
Regex search for C style cast and replace with static_cast for C++ in Notepad++
I'm trying to find C style casts (int) (float) etc and search & replace them with std::static_cast but am having difficulties with the Regex capture groups.
Example Code:
Point pt((int)(it.size*...
0
votes
1
answer
768
views
Program won't start because libmpc-3.dll is missing
I'm trying to compile c++ code in Notepad++. The command I'm running is as follows in the Program to Run box.
C:\MinGW\bin\g++.exe -o "$(NAME_PART)" "$(FULL_CURRENT_PATH)"
I get the error saying "...
-2
votes
2
answers
247
views
Match #include tags with regex
I'm using the Find and Replace feature in Notepad++ and though I've never used regex before, I don't see any other way of accomplishing my goal here. I'm trying to select only two specific characters,...
3
votes
0
answers
1k
views
Notepad++ Compiling C++
I'm trying to compile a simple C++ hello world program on notepad++. However, I have the newest 64 bit version (v7.5.4) and apparently they got rid of the plugin manager and nppexec. Which is kinda ...
-6
votes
1
answer
174
views
Regular expressions in Notepad++. How make pattern that could be use in a few lines
I have to Find and Replace some lines for one click in Notepad++!
How can I to do that?
Text:
//A lot of code
int i = n << 3;
cout << "message1";
cout << "message1" << ...
0
votes
1
answer
840
views
Create a Notepad++ plugin in C++
I am creating a notepad++ plugin in Visual Studio.
I have downloaded the demo plugin and tried some basic functionality and it is working.
I am looking for some functions which will help in my ...
0
votes
3
answers
5k
views
ShellExecute - ERROR code 5
I am using Notepad++ with TDM-GCC. My computer is 2Gb RAM Windows 10 32 bit 3.30 GHz. When I execute my simple program, it shows error.
Access is denied.
An attempt was made to execute the below ...
0
votes
1
answer
361
views
cpp file is being saved in wrong format and was unable to solve it
my notepad++ cpp is file shows an internet explorer sign as it is being saved, opens in internet explorer or I have not choose which software I want to use to open it, instead of just opening in ...