How to run first c/c+ program in Notepad++ and MinGW

preview_player
Показать описание
Let us see how to run c/c+ program in Notepad++ and MinGW with this video, We will execute the program in Notepad++ using MinGW. Following is the code:

npp_save
cd "$(CURRENT_DIRECTORY)"
g++ "$(FILE_NAME)" -o $(NAME_PART) -march=native -O3
NPP_RUN $(NAME_PART)

#NotepadMinGW #RunMinGWNotepad #AmitThinks
------------------------------------------------------------------------
Subscribe to Amit Thinks for more videos!
Like! Subscribe! Share!
Stay tuned!
Рекомендации по теме
Комментарии
Автор

Seems to be somewhat working, but now I have another problem. I have an example of c++. It should 100% work, but when i am entering a number and pressing the enter cmd turns off... Dunno why...

alvydasjokubauskas
Автор

After i paste C:\MinGW\bin "This environment variable is too large. This dialog allow setting values up to 2047 characters long."

alvydasjokubauskas
Автор

Hii I'm not getting the output, it showing in the command prompt = access denied howe to solve this tell me bro

pardhavanadh
Автор

Bhai command prompt main verify krte samey aa gaya ki g++ is not recognised

anjukirar
Автор

While setting the command some fatal error is coming.... Plz can u help?

hemishraj
Автор

i cant understand that command
can u write clearly

sandhyadevi
Автор

I get this error:
g++ "myprogram.cpp" -o myprogram -march=native -O3
; about to start a child process: "g++ "myprogram.cpp" -o myprogram -march=native -O3"
CreateProcess() failed with error code 2:
The system cannot find the file specified.

NPP_RUN: myprogram
; executing: NPP_RUN myprogram
- the specified file was not found

stevensub
Автор

my script runs and close at same time, I can't see the output

#include <stdio.h>

int main() {
// printf() displays the string inside quotation
printf("Hello, World!");
return 0;
}

leosmi
Автор

it is showing error while applying changes.

imaduddin