<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="http://krischer.org/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="http://krischer.org/feed.php">
        <title>EDV-Krischer IT-Serice Wiki code:ansi_c:program</title>
        <description></description>
        <link>http://krischer.org/</link>
        <image rdf:resource="http://krischer.org/lib/images/favicon.ico" />
       <dc:date>2010-09-05T21:15:21+02:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://krischer.org/code/ansi_c/program/color_hangman"/>
                <rdf:li rdf:resource="http://krischer.org/code/ansi_c/program/no_fork_shell"/>
                <rdf:li rdf:resource="http://krischer.org/code/ansi_c/program/start"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://krischer.org/lib/images/favicon.ico">
        <title>EDV-Krischer IT-Serice Wiki</title>
        <link>http://krischer.org/</link>
        <url>http://krischer.org/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="http://krischer.org/code/ansi_c/program/color_hangman">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-14T23:48:53+02:00</dc:date>
        <title>Color Hangman</title>
        <link>http://krischer.org/code/ansi_c/program/color_hangman</link>
        <description>Simple Hangman Game for the command-line, maybe I’ll put a already developed Version with Socketsupport online somedayy.

The Game uses ANSI Terminalcolors, has a Highscorelist and 3 skill-levels. Needs  as word-source in the same directory as the binary. If not available, a optional file could given via parameter (other language, etc).
The Word-Sourcefile must contain one word a line, don’t forget the return after the LAST word or it will be ignored.</description>
    </item>
    <item rdf:about="http://krischer.org/code/ansi_c/program/no_fork_shell">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-14T23:48:52+02:00</dc:date>
        <title>File Informations</title>
        <link>http://krischer.org/code/ansi_c/program/no_fork_shell</link>
        <description>reads some attributs from the given file(s), prints it quite nicely on the console. same job could be done with gnutools, but shows some examples of reading the attributes and working with them in C

#include &lt;stdio.h&gt;
#include &lt;sys/types.h&gt;
#include &lt;sys/stat.h&gt;
#include &lt;fcntl.h&gt;
#include &lt;pwd.h&gt;

int main(int argc, char* argv[]) {
    if (argc &lt;2 ) {
      printf(&quot;\tAufruf: %s &lt;DATEINAME&gt;&quot;,argv[0]);
      return 1;
    }

    /*variablen*/
    int i=1, result=0;

    /*Status Buffer*/
    str…</description>
    </item>
    <item rdf:about="http://krischer.org/code/ansi_c/program/start">
        <dc:format>text/html</dc:format>
        <dc:date>2009-01-14T23:48:54+02:00</dc:date>
        <title>Program Overview</title>
        <link>http://krischer.org/code/ansi_c/program/start</link>
        <description>some of my programs coded in C, maybe they’re complete useless, but helps me understand or recognize some parts</description>
    </item>
</rdf:RDF>
