Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post random code
Author Message
krystabegnalie
~~~~I can cut trees!~~~

Posts: 2,127.4190
Threads: 218
Joined: 21st Jan 2008
Reputation: -6.39875
E-Pigs: 79.3639
Offline
Post: #20
RE: Post random code
a c program

Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
===
/* HUMAN_DNA.H
 *
 * Human Genome
 * Version 2.1
 *
 * (C) God
 */
 
/* Revision history:
 *
 * 0000-00-01 00:00  1.0  Adam.
 * 0000-00-02 10:00  1.1  Eve.
 * 0000-00-03 02:11  1.2  Added penis code to male version. A bit messy --
 *                        will require a rewrite later on to make it neater.
 * 0017-03-12 03:14  1.3  Added extra sex drive to male.h; took code from
 *                        elephant-dna.c
 * 0145-10-03 16:33  1.4  Removed tail.
 * 1115-00-31 17:20  1.5  Shortened forearms, expanded brain case.
 * 2091-08-20 13:56  1.6  Opposable thumbs added to hand() routine.
 * 2501-04-09 14:04  1.7  Minor cosmetic improvements -- skin colour made
 *                        darker to match my own image.
 * 2909-07-12 02:21  1.8  Dentition inadequate; added extra 'wisdom' teeth.
 *                        Must remember to make mouth bigger to compensate.
 * 4501-12-31 14:18  1.9  Increase average height.
 * 5533-02-12 17:09  2.0  Added gay option, triggered by high population
 *                        density, to try and slow the overpopulation problem.
 * 6004-11-04 16:11  2.1  Made forefinger narrower to fit hole in centre of
 *                        CD.
 */
 
/* Standard definitions
 */
 
#define SEX male
#define HEIGHT 1.84
#define MASS 68
#define RACE caucasian
 
/* Include inherited traits from parent DNA files.
 *
 * Files must be pre-processed with MENDEL program to provide proper
 * inheritance features.
 */
 
#include "mother.h"
#include "father.h"
 
#infndef FATHER
#warn("Father unknown -- guessing\n")
#include "bastard.h"
#endif
 
/* Set up sex-specific functions and variables
 */
#include <sex.h>
 
/* Kludged code -- I'll re-design this lot and re-write it as a proper
 * library sometime soon.
 */
struct genitals
   {
#ifdef MALE
   Penis *jt;
#endif
   /* G_spot *g;   Removed for debugging purposes */
#ifdef FEMALE
   Vagina *p;
#endif
   }
 
/* Initialization bootstrap routine -- called before DNA duplication.
 * Allocates buffers and sets up protein file pointers
 */
DNA *zygote_initialize(Sperm *, Ovum *);
 
/* MAIN INITIALIZATION CODE
 *
 * Returns structures containing pre-processed phenotypes for the organism
 * to display at birth.
 *
 * Will be improved later to make output less ugly.
 */
Characteristic *lookup_phenotype(Identifier *i);
===
 


Spoiler for don't look, might destruct your mind:
[Image: funny_math.jpg]
Spoiler for anime planet:
[Image: krystabegnalie.jpg]
24/02/2009 08:02 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Post random code - Mickey - 24/02/2009, 11:15 AM
RE: Post random code - feinicks - 24/02/2009, 11:19 AM
RE: Post random code - Nacos - 24/02/2009, 11:34 AM
RE: Post random code - Mickey - 24/02/2009, 11:22 AM
RE: Post random code - S7* - 24/02/2009, 12:02 PM
RE: Post random code - PLZDELETE - 24/02/2009, 12:05 PM
RE: Post random code - S7* - 24/02/2009, 12:08 PM
RE: Post random code - feinicks - 24/02/2009, 12:17 PM
RE: Post random code - Mc Cabe - 24/02/2009, 12:37 PM
RE: Post random code - Assassinator - 24/02/2009, 04:17 PM
RE: Post random code - Mythos - 24/02/2009, 04:27 PM
RE: Post random code - Mickey - 24/02/2009, 06:08 PM
RE: Post random code - ZiNgA BuRgA - 24/02/2009, 06:20 PM
RE: Post random code - boogschd - 24/02/2009, 06:38 PM
RE: Post random code - ZiNgA BuRgA - 24/02/2009, 06:53 PM
RE: Post random code - -PHENOMENON- - 24/02/2009, 07:05 PM
RE: Post random code - boogschd - 24/02/2009, 07:08 PM
RE: Post random code - -PHENOMENON- - 24/02/2009, 07:11 PM
RE: Post random code - feinicks - 24/02/2009, 08:01 PM
RE: Post random code - boogschd - 24/02/2009, 09:24 PM
RE: Post random code - krystabegnalie - 24/02/2009 08:02 PM
RE: Post random code - Slushba132 - 24/02/2009, 09:47 PM
RE: Post random code - Sparker - 24/02/2009, 10:28 PM
RE: Post random code - Gadget - 24/02/2009, 10:40 PM
RE: Post random code - Mickey - 24/02/2009, 10:42 PM

Forum Jump:


User(s) browsing this thread: 4 Guest(s)

 Quick Theme: