Skip to content

Instantly share code, notes, and snippets.

ehsaan555

Block or report user

Report or block ehsaan555

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MainConsole.cpp
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow);
{
AllocConsole();
HANDLE handle_out = GetStdHandle(STD_OUTPUT_HANDLE);
int hCrt = _open_osfhandle((long)handle_out, _O_TEXT);
FILE* hf_out = _fdopen(hCrt, "w");
@ehsaan555
ehsaan555 / console.h
Created Oct 11, 2017
Edited version of 3dsboy08's Console Libary
View console.h
#pragma once
#include <Windows.h>
#include <string>
#include <iostream>
//Created by 3dsboy08 - please give credit, thanks <3
// Edited by swagehsaan840#2210 thanks
#define BLACK "@@BLACK@@"
#define BLUE "@@BLUE@@"
You can’t perform that action at this time.