#include <windows.h>
#include <iostream>
using namespace std;
int main () {
cout<<"Some information is displayed..
";
Sleep(5000);
cout<<"wait.. the console is going to hide and run in background..
";
Sleep(5000);
ShowWindow(FindWindowA("ConsoleWindowClass", NULL), false);
while(true) {
// Do your hidden stuff in here
}
return 0;
}
HWND window;
AllocConsole();
window = FindWindowA("ConsoleWindowClass", NULL);
ShowWindow(window,0);
Code Example |
---|
Cpp :: qt qimage load from file |
Cpp :: std::tuple apply multiplier |
Cpp :: class Solution { public: vector<vector<int threeSum(vector<int& nums) meaning |
Cpp :: stl for sorting in c++ |
Cpp :: c++ split long code |
Cpp :: c++ display numbers as binary |
Cpp :: eosio name to string |
Cpp :: C++ Converting Kelvin to Fahrenheit |
Cpp :: fast io c++ |
Cpp :: length of 2d array c++ |
Cpp :: prime number program in c c++ |
Cpp :: c++ find sum of vector |
Cpp :: cpp rand |
Cpp :: using find in vector c++ |
Cpp :: convert string to char c++ |
Cpp :: binary string addition |
Cpp :: arduino notone |
Cpp :: integer type validation c++ |
Cpp :: what is the difference between i++ and ++ i ? |
Cpp :: typedef vector c++ |
Cpp :: elixir update map |
Cpp :: how to string to integer in c++ |
Cpp :: appending int to string in cpp |
Cpp :: string to int in c++ |
Cpp :: C++ Volume of a Sphere |
Cpp :: SetUnhandledExceptionFilter |
Cpp :: C++ string initialization |
Cpp :: C++ array sort method |
Cpp :: C++ cin cout |
Cpp :: index string c++ |