[Vala] `stdout.puts' doesn't have "\n"?



I wrote a Hello World app like this:

  int main ()
  {
    stdout.puts ("Hello World");
    return 0;
  }

then,
$ valac hello.vala
$ ./hello
Hello World$   #NO \n!

Is it a bug?


--------------------
Mike is here.
My OS:                     Fedora x64
My blog:                   www.ekd123.org [Powered by Chito]
My favorite editor:        Emacs 23.2
My E-mail client:          Mew 6.3 on Emacs 23.2.
--------------------

Attachment: pgpJN3EmX47V8.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]