b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » Photoshop an Ostrich » Message 470912 (Thread)

[challenge entry] Quite frankly, there are too many ostriches about...


...have an E-Moo instead

From the Photoshop an Ostrich challenge. See all 585 entries (closed)

(, Sun 10 Nov 2002, 21:28, archived)
# hahaha!
10 eat grass
20 goto 10
(, Sun 10 Nov 2002, 21:32, archived)
# It's the latest model..
four stomachs of pure grass processing power!
(, Sun 10 Nov 2002, 21:33, archived)
# that's the best loop
ever written, for any animal, in basic
(, Sun 10 Nov 2002, 21:38, archived)
# Just for the hell of it.
// Visual C++ cow humor
// this program gets grass input, and outputs
// the used grass to an intestines file. I was
// going to include a regurgitation function
// in case of over eating, but i got lazy...
 
#include <fstream>
#include <iostream>
#define fullStom = 5; //in pounds.
 
using namespace std;
 
int EatGrass()
int main()
{
    int numOfStoms = 4; // # of stomachs
    int stomCnt = 0; //count stomachs.
 
    ofstream outFile1("intestines.dat"); //declares digestion
   
    for (stomCnt = 0; stomCnt < numOfStoms; stomCnt++) //fill each stomach
       outFile1 << EatGrass(); //eat grass, send to intestines, from each stomach
 
    return 0;
}
 
int EatGrass() //begin grass eating
{
   int grassEaten = 0; //total grass eaten
   int grass; // the grass (duh)
   ifstream inFile1 ("grass.dat"); //declare eating process.
 
   while (grassEaten < fullStom) //until somach is full....
   {
      inFile1 >> grass; //eat grass
      grassEaten += grass; //add grass to total
   }
 
   return grassEaten; //send back to intestines
}
(, Mon 11 Nov 2002, 18:18, archived)
# brilliant
!
(, Sun 10 Nov 2002, 21:36, archived)
# Moo Hay "Coo"-pla!
...and all that...(ps. edinb3tan 30th nov - u going my hairy friend?)
(, Sun 10 Nov 2002, 21:37, archived)
# A big St Andrew's day woo yay to that!
I will try and grow more hair for the occassion...
(, Sun 10 Nov 2002, 21:41, archived)
# should be a good 'un...
I will attempt to be in the country this time, having missed you all on the last one.
(, Sun 10 Nov 2002, 22:02, archived)
# My E-moo isn't working..
..I think I need a new utterboard.
(, Sun 10 Nov 2002, 21:38, archived)
# shouldn't that be
udderboard?
(, Sun 10 Nov 2002, 21:51, archived)
# I looked around
and found both spellings....so I was confused.
(, Sun 10 Nov 2002, 22:25, archived)