[Haskell-cafe] Windows, or GHC?

Roberto Zunino zunino at di.unipi.it
Tue Feb 12 19:10:11 EST 2008

Svein Ove Aas wrote:
> A program to do this follows for your convenience.
> ----
> #include <stdio.h>
> int main() {
>   int i;
>   for (int i=0; i<3; i++)
>     puts("Hello\0");

This will have the same effect as puts("Hello").
Maybe putchar(0) will actually output the NUL.


More information about the Haskell-Cafe mailing list