Archive of UserLand's first discussion group, started October 5, 1998.

Re: Linux for Dummies?

Author:Brent Simmons
Posted:12/4/1998; 1:34:10 PM
Topic:Linux for Dummies?
Msg #:808 (In response to 807)
Prev/Next:807 / 809

Here's my Hello World -- I got it to work. I'm so used to CodeWarrior and Visual C -- it's a trip to just type "make hello" to build. Oddly, it reminds me of running BASIC programs on my Apple II Plus. (The last time I used a command line regularly.)


int main (int argc, char* argv []) {

printf (argv [1]);

printf ("\n");

return (o);

} /*main*/

So the above just echoes back the first command-line argument. I got the hang of this. Thanks!

There are responses to this message:

This page was archived on 6/13/2001; 4:46:15 PM.

© Copyright 1998-2001 UserLand Software, Inc.