[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug in windows??
From: |
liutaoxwl |
Subject: |
bug in windows?? |
Date: |
Sun, 1 Feb 2009 10:33:56 +0800 |
Hello
When I used gettext in windows like this:
#include <locale.h>
//#include "gettext.h"
#include "libintl.h"
#define _(string) gettext(string)
#pragma comment(lib, "../libintl.lib")
.
.
fprintf (stdout, _("hello world!\n"));
.
.
I get a error when run at fprintf.
When I include gettext.h but not libintl.h, there has no error, but it do
nothing.
- bug in windows??,
liutaoxwl <=