Joseph Hyde
asked on
How do i run a c++ file?
I made a simple file and i have tried to run it but it opens IE
Did you compile it? Usually, the output is an EXE
ASKER
I'm not sure how to compile it
What IDE are you using?
ASKER
How can i tell?
In what program did you make the file?
ASKER
Notepad++
ASKER
Is that all?
Yup
Here is like that I wanted to add to above post http://windowsbro.blogspot.hu/2012/10/compile-with-notepad-any-language.html
Here is like that I wanted to add to above post http://windowsbro.blogspot.hu/2012/10/compile-with-notepad-any-language.html
ASKER
It keeps giving me errors
Did you install compiler from http://www.mingw.org/?
ASKER
Yes this is the error its giving me
#include <iostream>
CreateProcess() failed with error code 2:
The system cannot find the file specified.
using namespace std;
CreateProcess() failed with error code 2:
The system cannot find the file specified.
int main
CreateProcess() failed with error code 2:
The system cannot find the file specified.
{
CreateProcess() failed with error code 2:
The system cannot find the file specified.
cout << "Hello World";
CreateProcess() failed with error code 2:
The system cannot find the file specified.
}
CreateProcess() failed with error code 2:
The system cannot find the file specified.
================ READY ================
#include <iostream>
CreateProcess() failed with error code 2:
The system cannot find the file specified.
using namespace std;
CreateProcess() failed with error code 2:
The system cannot find the file specified.
int main
CreateProcess() failed with error code 2:
The system cannot find the file specified.
{
CreateProcess() failed with error code 2:
The system cannot find the file specified.
cout << "Hello World";
CreateProcess() failed with error code 2:
The system cannot find the file specified.
}
CreateProcess() failed with error code 2:
The system cannot find the file specified.
================ READY ================
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
What is you NppExec command?
ASKER
Thank you for the help...-_-