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:
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++ ...