Demo with the rebuilt msvcrt.lib

Started by Vortex, February 10, 2007, 10:48:45 AM

Previous topic - Next topic

Vortex

This simple project is the continuation of the thread :

Complete msvcrt library and include file

http://www.masm32.com/board/index.php?topic=1638.msg49345#msg49345

#include <stdio.h>

int __cdecl crt_printf(const char * restrict, ...);
int __cdecl crt_scanf(const char * restrict, ...);
char * __cdecl crt__strupr(char *);

int main()
{
char buffer[100];
crt_printf("Please type your name : ");
crt_scanf("%s",buffer);
crt_printf("Hello %s , nice to meet you :) ",crt__strupr(buffer));
return 0;
}



[attachment deleted by admin]