Cant run .exe file writen in C++

Hello, I have recently written a program in C++, saved it as a C++ file but made the actual file .exe , Now i tried to run it but i got the following error; Windows cannot execute this file, Ask the software Publisher if there is an up-to date version of the app (so me as Publisher). Anybody know how to run it? BTW i tried puttting it in a file and running it via task manager.
How did you "make" the executable? Which compiler did you use?
i made it in notepad++ when i saved i selected the option C++ source file, named the file testapp.exe
You have a fundamental misunderstanding of how programming languages work.

http://www.cplusplus.com/doc/tutorial/introduction/
Thanks
Topic archived. No new replies allowed.