Click to See Complete Forum and Search --> : About life..


Carlisinho
January 19th, 2011, 02:36 PM
//life.cpp
//Author: Karlis Lapins
//Created: 19.01.2011.
//Version: 1.0
//Description: About life. Not necessarily for compiling.


#include <cstdlib>
#include <iostream>

using namespace std;

class Human
{
public:
bool bIdentify_with_past;
bool bConsciousness_released;
char cHad_enough;
bool bRealize_you_are_not_your_mind;
bool bSurrender_to_the_present_moment;
int iMoment;
Human() // constructor
{
bIdentify_with_past = true;
bConsciousness_released = false;
cHad_enough = 'n';
bRealize_you_are_not_your_mind = false;
bSurrender_to_the_present_moment = false;
iMoment = 0;
}
};

// While not being enlightened.
void being_very_very_busy (int iThings_to_do)
{
bool * aThis_and_that = new bool [iThings_to_do];
bool bBeing_done = true;
for (int i = 0; i < iThings_to_do; i++)
{
aThis_and_that[i] = bBeing_done;
}
} // being_very_very_busy

// When being enlightened.
void enjoy_every_moment_of_life()
{
cout << "Life!!! :)";
bool bBreathing_input_output = true;
bool bBeing_truly_happy_and_feeling_grateful_comma_content;
int iMake_the_world_better; // The data type of this variable is discussable.
while (bBreathing_input_output)
{
bBeing_truly_happy_and_feeling_grateful_comma_content = true;
iMake_the_world_better++;
}
} // enjoy_every_moment_of_life

int main()
{
Human h; // New human being.
int iThings_to_do;
while (h.bIdentify_with_past)
{
iThings_to_do = rand(); // Random number of things to do.
h.iMoment = h.iMoment + 1;
being_very_very_busy(iThings_to_do);
cout << "Had enough? (y/n): ";
cin >> h.cHad_enough;
if (h.cHad_enough == 'y')
{
h.bSurrender_to_the_present_moment = true;
h.bRealize_you_are_not_your_mind = true;
if (h.bSurrender_to_the_present_moment && h.bRealize_you_are_not_your_mind)
{
h.bConsciousness_released = true;
break;
}
}
}
if (h.bConsciousness_released)
{
enjoy_every_moment_of_life();
}
return 0;
} // main

Amaz1ng
January 19th, 2011, 03:09 PM
lol this is corny. :p

petszk
January 19th, 2011, 09:48 PM
Didn't use code tags. :(








:p