I have a simple code in C ++ in the IDE of NetBeans 8.0.1 . I have already configured the entire Cygwin suite.
#include "stdio.h"
#include "iostream"
int main(){
printf("hola como estas");
return 0;
}
When compiling it within NetBeans , all very well, but when I go to the dist folder inside the project and execute the .exe , throw me this error:
1- Why is this problem given?
2- Are these exe portable or native?
I'm starting in C ++, I need to generate an exe that can run on different Windows operating systems.