Help on Compiling in notepad++ :: Forum

Start Date Last Update Igniter Last Update By Status
2:47am on Tuesday 9th July 2013 11 years ago

badal007

Truzza




badal007
Could anybody help me out on how to compile after you write your code in notepad++ and i'm using Windows7. I already set the path too but I just don't know how to use the Command(cmd) thing.thanks.



suzzett
Do you get any kind of error message? Refer to this article here and see if this helps and you miss something:

http://digitalstage.org/Blog/?Action=ShowArticle&CID=6512bd43d9caa6e02c990b0a82652dca



badal007

i followed very carefully and when i typed g++, it outputs "no input files" that means i installed it ok. but my problem is after i complete writing my progrma in notepad++, how should i compile it or what command should i write 





suzzett

Do you know where you saved your file? You must know the full path. It would look like C:/(Some Folder)/(Some other folder) If you do, then try doing 


cd (Your full directory) (Hit Enter)
g++ (your program file name) -o (Output file name)

 




ChronicRapture

Whenever I type in "cd programming" it says " The system cannot find the path specified." I think I did everything right before that. What should I do?




Truzza

Type cd .. until you get down to C;\>



Once you're there, follow what Suzett said,



"cd (Your full directory) (Hit Enter)

g++ (your program file name) -o (Output file name)"



ex) cd C:/Users/name/programming/ (I created a folder called programming, it's whatever you are saving the notepad++ documents into)  after this is when you type g++ ...





Truzza

"cd .."



Please login to post your reply!
 

Login

Username:
Password:
Don't have an account?
Register here
Register

Subscribe Youtube



Network DigitalStage.org


Some interesting stuffs