beginner: run and compile c++ program!
-
I am new to notepad++ here, kindly please help me regarding run and compiling c++ program on NPP. I’ve used these commands:
npp_save
cd $(CURRENT_DIRECTORY)
C:\Users\DELL\OneDrive\Desktop\CodeBlocks\MinGW\bin\g++.exe “$(FILE_NAME)”
cmd /c “$(CURRENT_DIRECTORY)\a.exe”And output goes as:
NPP_SAVE: C:\Users\DELL\OneDrive\Desktop\Notepad++\1prg.cpp
CD: C:\Users\DELL\OneDrive\Desktop\Notepad++
Current directory: C:\Users\DELL\OneDrive\Desktop\Notepad++
C:\Users\DELL\OneDrive\Desktop\CodeBlocks\MinGW\bin\g++.exe “1prg.cpp”
Process started (PID=7340) >>>
g++.exe: error: ô1prg.cppö: No such file or directory
<<< Process finished (PID=7340). (Exit code 1)
cmd /c “C:\Users\DELL\OneDrive\Desktop\Notepad++\a.exe”
Process started (PID=2948) >>>
The filename, directory name, or volume label syntax is incorrect.
<<< Process finished (PID=2948). (Exit code 1)
================ READY ================ -
g++ seems to have an issue here g++.exe: error:
ô1prg.cppö: No such file or directoryWhere does
ôandöcome from? Are you using the correct"
and not the“? Are you running with an unusual OS setup?cmd /c "$(CURRENT_DIRECTORY)\a.exe"this will most probably fail
as I would expect1prg.exeto be created.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login