#include /* compile with VS2005 Express * cl.exe /GS- /MD hello.c * /GS- turns off stack cookies and other security features * /MD dynamically links against msvcrt.dll * thanks Erik! */ int main(int argc, char **argv){ char buf[16]; printf("what is your name?\n"); gets(buf); printf("Hi %s!\nNice to meetcha.\n", buf); return 0; }