On Fri, 23 Nov 2012, Ken Takata wrote:

Can you compile a program just using pow()?

For example:
$ cat a.c
#include <math.h>
int main()
{
   return (int) pow(2, 3);
}

$ i686-pc-mingw32-gcc a.c  (or gcc-3 -mno-cygwin a.c)

$ ./a; echo $?
8

Yes, this works fine.


--
           Please avoid sending me Word or PowerPoint attachments.
         See http://www.fsf.org/philosophy/no-word-attachments.html
Christian J. Robinson <[email protected]>      http://christianrobinson.name/

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui