Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - puts http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   puts

   Usage
   #include <stdio.h>
   int puts(const char *s);

   Description
   puts  writes the string s to stdout (without the terminating 0),  then
   writes a newline to stdout.

   Example
   #include <stdio.h>
   main()
   {
   char *string = "Display this string using puts,";
   char *string2 = "Puts inserts a newline character.";

        puts(string);
        puts(string2);
   }

   Return Value
   Returns a positive value if successful, otherwise EOF.


See Also: fprintf fputs gets printf

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson