Answer the question
In order to leave comments, you need to log in
Code::Blocks after launching the console application opens an empty console, how to fix it?
Downloaded from the official site and installed Code::Blocks with MinGW. But when you try to compile and run "Hello, world" in C
, an empty console opens (the cursor in the first line blinks, nothing can be typed). How to fix it?
#include "stdio.h"
#include "conio.h"
main()
{
printf("Hello, world\n");
_getch();
return 0;
}
Answer the question
In order to leave comments, you need to log in
Try disabling your antivirus - it can interfere with debugging.
Сonio.h (from the English console input-output - console input-output) is a header file used in old compilers running on MS-DOS operating systems to create a text user interface. However, it is not part of the C programming language, the C standard library, ISO C, or required by the POSIX standard.
_getch
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question