How can we prevent console windows from being displayed under Visual Studio?

Is it possible (and how) to disable the display of the Console window when we launch an application under Visual Studio?


Some precisions:

I have at the beginning of this project no GUI system. In a second time I have added QT gui to this project. Currently when I launch my application, I have the console system and the QT's MainWindow

I would like to disable console system


You will have to use just an application and not a console application. To do that:

Change SubSystem to Windows. You can find it under:

Properties ---> Linker ---> System 

and replace

int _tmain(int argc, _TCHAR* argv[]) 


int APIENTRY _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow) 

Need Your Help

Downloading multiple files from an FTP server files using Libcurl

c++ ftp download libcurl

I have used the following code to get to download all the files from the FTP Server

C++ problem in calling a function in main that prints the map

c++ function map main

I am trying to print the contents of the map and this is where my code fails. I have tested all my methods and I have no problem to read from file, filer the word, put it into map, and even the print

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.