Problem when i compile a simple program

I type the following code:

#include <stdio.h>

#include <conio.h>

void main()

{

printf("hello");

getch();

}

and this is the error message after i compile it:

------ Build started: Project: c++, Configuration: Debug Win32 ------

Compiling...

Inthu.c

d:\documents and settings\bui huy hoang\my documents\visual studio 2005\projects\c++\c++\inthu.c(7) : warning C4996: 'getch' was declared deprecated

d:\program files\microsoft visual studio 8\vc\include\conio.h(146) : see declaration of 'getch'

Build log was saved at "file://d:\Documents and Settings\Bui Huy Hoang\My Documents\Visual Studio 2005\Projects\c++\c++\Debug\BuildLog.htm"

c++ - 0 error(s), 1 warning(s)

========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========


Can anyone help me



Answer this question

Problem when i compile a simple program