MCPcopy Create free account
hub / github.com/WheretIB/nullc / InitConsole

Function InitConsole

NULLC/includes/io.cpp:16–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14namespace NULLCIO
15{
16 void InitConsole()
17 {
18#if defined(_MSC_VER)
19 AllocConsole();
20
21 freopen("CONOUT$", "w", stdout);
22 freopen("CONIN$", "r", stdin);
23#endif
24 }
25
26 void DeInitConsole()
27 {

Callers 7

WriteToConsoleFunction · 0.85
WriteLongConsoleFunction · 0.85
WriteDoubleConsoleFunction · 0.85
WriteCharConsoleFunction · 0.85
ReadIntFromConsoleFunction · 0.85
ReadTextFromConsoleFunction · 0.85
WriteToConsoleExactFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected