【英文】找不到conio.h头文件

Preface

C language project error: conio.h: No such file or directory

Reason

  • The original conio.h library is suitable for old DOS systems and cannot be used for Linux/Win32/MacOS.

Solution

  • Replace it with the new library curses.h
1
#include <curses.h>

Completed

References

简书——良先生爱生活