Console Application => c++

Posts 1–5 of 5 · Page 1 of 1
Console Application => c++
Code:
#include "stdafx.h"
#include <string.h>
#include <iostream>
#include <Windows.h>
#include <stdio.h>
#include <fcntl.h>
#include <stdlib.h>
#include <io.h>
#include <math.h>
#include <fstream>
#include <sstream>
#include <ctime>
#include <cstdio>
#include <string>
using namespace std;

int hCrt, i;
int $sayi=0;
FILE *hf;
HANDLE hConsole;
Code:
void _inline consolAlloc(){
AllocConsole();
hConsole = GetStdHandle(STD_OUTPUT_HANDLE);
hCrt = _open_osfhandle((long) GetStdHandle(STD_OUTPUT_HANDLE), _O_TEXT);
hf = _fdopen( hCrt, "w" );
*stdout = *hf;
         i = setvbuf( stdout, NULL, _IONBF, 0 );
SetConsoleTitle( "Console Title" );
SetConsoleTextAttribute(hConsole, 6);
         cout << "Console Loaded.!" << endl;
SetConsoleOutputCP(65001);
}
injected => open CONSOLE APP..
You need to start using the snippets section. Thank you.
This is the most horrible cancer formatting I've ever seen.
Why the fuck are you including so much un-needed files? :S
Quote Originally Posted by MarkHC View Post
Why the fuck are you including so much un-needed files? :S
next be necessary
Posts 1–5 of 5 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Talk with us