Error starting application (0xc000007b).
#include <cstdlib> #include <iostream> using namespace std; using std::cout; using std::cin; using std::endl; int main(int argc, char** argv) { setlocale(LC_ALL, "utf-8"); string fin; int R; cout << "введите сумму " << endl; cin >> R; if(R%100 >= 11 && R%100 <= 19) { fin = "рублей"; } else { switch(R%10) { case 1: fin = "рубль"; break; case 2: case 3: case 4: fin = "рубля"; break; default: fin = "рублей"; } } cout << "У вас " << R << " " << fin << "!" << endl; return 0; } Thanks to everyone who responded! So the problem was in Cygwin64. After installing and configuring MinGv, everything started to run the configuration link: https://stackoverflow.com/questions/5224381/mingw-netbeans-6-9-1-problem
the only thing that infuriates MinGv does not want to be displayed in the output netbins