[PLUG] OT: today's Foxtrot

Brian Horan bhoran at hexdev.com
Fri Oct 3 21:29:02 UTC 2003


On Fri, 2003-10-03 at 23:20, Paul Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Fri, Oct 03, 2003 at 01:39:48PM -0700, AthlonRob wrote:
> > I'm taking CS161 this term, just because I haven't ever touched
> > programming before, and was wholly expecting to begin with a Hello World
> > program.
> 
> Eh, well, here's your chance...
> 
> #include <stdio.h>
> 
> main() {
>   printf("Hello, world!\n");
> }

main() return value sets $? in the shell. (*cough* (int))
wait 'till you're asked to write a C/C++ program without semicolons,
or swapping the values of 2 variables without using a third|temporary
variable.

if you're really bored, print out the environment variables not using
getenv(3)...

or if you're really, really, really bored.... do a google search for
'quine'

or if boredom has stuck so deep that you're gonna stop reading this
email...check out:
http://ocw.mit.edu

werd up.



> 
> - -- 
>  .''`.     Paul Johnson <baloo at ursine.ca>
> : :'  :    
> `. `'`     proud Debian admin and user
>   `-  Debian - when you have better things to do than fix a system
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.3 (GNU/Linux)
> 
> iD8DBQE/fjx8UzgNqloQMwcRAm4OAKCj3HG5UpOQ7qR4as/edi4dV50r4ACg4rgr
> McwEYv/gUBUUZnhG5oYn7Ls=
> =EAQM
> -----END PGP SIGNATURE-----
> 
> _______________________________________________
> PLUG mailing list
> PLUG at lists.pdxlinux.org
> http://lists.pdxlinux.org/mailman/listinfo/plug
-- 
Brian Horan <bhoran at hexdev.com>





More information about the PLUG mailing list