View Single Post
  #13 (permalink)  
Old 02-16-2010, 10:57 PM
Flash Gordon
Guest
 
Posts: n/a
Default Re: compiling C program containing Xutil functions

happytoday wrote:

<snip>

> Please visit this page and see what the examples written about
> Graphical Interfaces: Dialog Boxes example :
> http://docs.huihoo.com/gnu/c-basics/c_tutorial.html


Or better yet, don't use that tutorial. Apart from using "void main" it
lists strncpy as one of the most useful string functions (it's use is
highly specialised), it keeps having a space after the < of #include
directives, it keeps saying statement blocks are required where you can
alternatively use a single statement (although sometimes it does not
bother with the block it says you need when initially describing the
construct)...

That's what a cursory skim through shows.
--
Flash Gordon
Reply With Quote