Check project configuration. Linker->System->SubSystem should be Windows.
More Related Contents:
- divide a number by 2 recursively
- What is wrong using c++ copy function?
- C++ crash on getting pointer [closed]
- How do C++ class members get initialized if I don’t do it explicitly?
- Difference between string and char[] types in C++
- How to pass parameters correctly?
- Can we reassign the reference in C++?
- The written versions of the logical operators
- using namespace std; in a header file
- Why/when is __declspec( dllimport ) not needed?
- C++ HTML template framework, templatizing library, HTML generator library [closed]
- SetupDiGetDeviceProperty usage example
- Parameter pack must be at the end of the parameter list… When and why?
- Precompiled headers with GCC
- What is the difference between MinGW, MinGW-w64 and MinGW-builds?
- C++ How is release-and-acquire achieved on x86 only using MOV?
- Should I copy an std::function or can I always take a reference to it?
- What is an iterator in general?
- Assembly ADC (Add with carry) to C++
- Returning a reference to a local variable in C++
- Eigen and std::vector
- C++ error: ‘_mm_sin_ps’ was not declared in this scope
- How to create an object in a form like this: ifstream in();
- Is Python faster and lighter than C++? [closed]
- How can I resize a 2D vector of objects given the width and height?
- How can I print 0x0a instead of 0xa using cout?
- What are the differences between std::variant and boost::variant?
- How is a bool represented in memory?
- No == operator found while comparing structs in C++
- Differences of using “const cv::Mat &”, “cv::Mat &”, “cv::Mat” or “const cv::Mat” as function parameters?