Semaphore put conio.h in Program Files\gcc\include Active code page need to be 437 or type chcp 437 in CMD