c - warning c4996 See online help for details -


WARNING C4996: 'getch': POSIX name has been disliked for this item. Instead, the ISO C ++ Confirm Name Name: _getch.

This compiler's warning indicates that the 'getch ()' function in the code is a reference to it. The compiler is suggesting that the code is updated to use the '_getch ()' function instead.

Generally, this error will occur in a Microsoft development environment way back , a long time ago, Microsoft introduced 'getch ()' [And 'getche ()'] Functions These functions will press a key for the user, and then send the key character back to the caller. The 'Getch ()' function key (DOS or Early Windows) will not 'echo' back on the screen, while 'met' () 'the key pressed on the screen will be echoed.

The 'getch ()' and 'gach ()' functions were not adopted by other environments, such as * Nick. Eventually, in order to help identify Microsoft's proprietary (Microsoft) nature, the name of the task with the major underscore,

as an error message, I think that '_getch () 'Function has been adopted by the "ISO C ++" standard (though I do not do C ++ because it is hateful to many programmers like me).

Note: * NICAS 'Curses' library is also included () which is somewhat similar to the old Microsoft Function.

The compiler's warning has been noted in the question that just; Warning. Most likely, the code is still compiled and run (in a Microsoft environment).


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -