Rob printf problem.

new topic     » topic index » view thread      » older message » newer message

Rob: printf does not work in Euphoria the same way as it does in "C"

Run the following in "C" ( I used both Borland and MSC )

#include <stdio.h>

main() {
printf("%d\n", -1);
printf("%d\n", 0xffffffff);  // this returns -1
}


Then run the following in Euphoria

printf(1,"%d\n", -1)
printf(1,"%d\n", #FFFFFFFF)  -- this does not return -1


Thanks

Bernie

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu