File talk:Printf.svg
Latest comment: 10 years ago by CyberXRef in topic Incorrect syntax in the current (20:46, 3 October 2010)
Search, when you modified the July 2007 version of the image you inadvertently removed the initial opening quotation mark ("qgrrtvh?"). I'm also curious in what way does the "04:47, 25 July 2007" version, differ from the "12:22, 20 December 2009" version? I made the modification to the latest version and added the quote back in, but after much effort I was unable to upload my revised version. I also struggled with the complexities of copywrite issues. So in the end I am back here documenting that the example in the image is wrong. It reads,
printf(Color %s, Number %d, Float %5.2f", "read", 1234567, 3.14) %2f", "read", 1234567, 3.14) 00:14, 21 January 2010 (UTC)
Incorrect syntax in the current (20:46, 3 October 2010) edit
First line contains incorrect semicolon placement.
Input: printf("Color %s, Number %d, Float %5.2f", "red", 123456, 3.14;)
Input: printf("Color %s, Number %d, Float %5.2f", "red", 123456, 3.14);