Re: Hello, World!



[comp.lang.c] Eric Sosman <esosman@xxxxxxxxxxxxxxxxxxxx> wrote:

#include <stdio.h>
int main(void) {
puts ("Wotcher.");
return 0;
}

#include <stdio.h>
int main( void ) {
fprintf( stdout, "s'up, dawg!\n" );
return 0;
}

(I had to look up "wotcher", I admit.)

--
C. Benson Manica | I appreciate all corrections, polite or otherwise.
cbmanica(at)gmail.com |
----------------------| I do not currently read any posts posted through
sdf.lonestar.org | Google groups, due to rampant unchecked spam.
.



Relevant Pages

  • Re: printf headache
    ... printf is fprintf to stdout? ... I'm curious why I don't see more fprintf. ... int", %ul prints an "unsigned int" followed by the l character, it is ... Keith and pete were discussing how to write the actual name ...
    (comp.lang.c)
  • Re: Inputting a character in C
    ... No problem with outputting the message using fprintf to stdout - but if I ... How can I avoid the need for a carriage return? ... int main ...
    (comp.sys.acorn.programmer)
  • Re: printf headache
    ... printf is fprintf to stdout? ... I'm curious why I don't see more fprintf. ... If the intent is to print an unsigned long int then yes, ... there is the legal %u conversion followed by the literal ...
    (comp.lang.c)
  • [NT] Argon Client Management Services Directory Traversal
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... int timeout; ... u_short port = PORT; ... if local_file is equal to %s will be used stdout for ...
    (Securiteam)
  • [NT] 2X ThinClientServer Directory Traversal
    ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... int timeout; ... u_short port = PORT; ... if local_file is equal to %s will be used stdout for ...
    (Securiteam)