Talk:C Programming/A taste of C

The statement '(void)' in the line 'int main(void)' is not discussed on the page, I would like to read some explanation.--86.89.194.96 (talk) 21:37, 9 June 2010 (UTC)

Its funny the page doesn't explain what an integer is... I'll make it link to the wikipedia page for it for now... 220.233.48.200 19:07, 30 November 2005 (UTC) You expect the book to explain such a basic thing as an integer? And the book has already said that it assumes a certain level of knowledge of the reader. (w:User:Vedant_lath)203.98.102.2 21:21, 24 March 2006 (UTC)

printf vs. puts
Recently someone changed

to

with the comment
 * printf -> puts for consistensy

So, should we update the rest of the book to use puts "for consistency" whenever we're merely printing a simple string? That would certainly help avoid the common bug of using printf( string ); /* acts very strange if the user types "%s" in the string */ when we should have used printf( "%s", string ); or puts( string ); . --DavidCary 05:26, 8 December 2005 (UTC)

reverted to printf because puts doesn't need to include ;

(the text explains what include does, wouldn't make sense, if we didn't include anything)

--84.136.204.226 22:16, 14 December 2005 (UTC)