C4996 'getch': The POSIX name for this item is deprecated. Instead, use the ISO C and C++ conformant name: _getch.

#include <the graphics.h>         // referenced graphics library 
#include <the conio.h> void main () 
{ 
    the InitGraph ( 640 , 480 );     // and TC differentiated 
    Circle ( 200 is , 200 is , 100 );     // draw a circle , the center (200, 200), the radius 100 
    getch ();                 // press any key to continue 
    closegraph ();             // Close GUI 
}

method 1:

  The getch can compile into _getch

 

Method 2:

Property page -> C / C ++ -> General in the examination into whether the SDL can be compiled by

 

Guess you like

Origin www.cnblogs.com/HunterK/p/12341390.html