OT: Why I dislike C (was: Re: xffm changes)

Joe Klemmer klemmerj at webtrek.com
Mon Jan 27 20:23:51 CET 2003


On Mon, 2003-01-27 at 13:40, Jasper Huijsmans wrote:

> > > >	wastepath = g_strconcat (filepath, "/..Wastebasket/", NULL);
> > > 
> > > If you want portability (which is a good thing anyway), please use 
> > > G_DIR_SEPARATOR instead of '/' (ie when a char is expected) and
> > > G_DIR_SEPARATOR_S instead of "/" (ie when a string is expected)
> >
> FYI, there is a g_build_filename() that automatically uses that.
> 
> e.g.
> 
> g_build_filename(dir, file, NULL);

	How can one keep a full list of everything that is defined in all the
possible .h files when coding in C?  I'm not trying to be obtuse, I
really want to know.  Over the years I have coded in a number of
different languages (Jack of all trades, master of none) and, in my old
age, have decided that languages that need separate header files are
just to much work for me to deal with.  Same with languages that have a
gazillion-and-one unintelligible variables.

	Is there really some way I could learn to program in C (or even C++)
that would make sense to me?  If so I'd be more than happy to contribute
code to all kinds of places.

-- 
"It's time to KISS your BOT goodBYYYYYYEEEEEE!!!!!"
                -- Metabee, 'Medabots'




More information about the Xfce4-dev mailing list