 |
 |
 |
|
| Friday, April 29 | | · | Blogger Beware |
| Thursday, April 21 | | · | 'One' Load of Crap |
| Monday, April 18 | | · | 'Who the fsck cares?' or 'Disclaimer' |
| Sunday, April 17 | | · | Domain Name Changes... Life Changes |
| Wednesday, December 29 | | · | New Years Party! |
| Wednesday, December 01 | | · | Less Trial and Tribulations, more Peace and Freedom |
| Saturday, October 16 | | · | Care Bears Are Gay |
| Sunday, October 10 | | · | Who I'm Voting For |
| Thursday, September 30 | | · | Today is random post day, and I like Macha |
| Monday, September 13 | | · | C++ for Me++ |
| Tuesday, August 31 | | · | New Beginnings |
| Monday, August 23 | | · | FITES LAN Party |
| Wednesday, August 18 | | · | QuakeCon... I got fragged and went to heaven |
| Tuesday, July 27 | | · | Hurray for QuakeCon! |
| Monday, July 12 | | · | Politics is Dumb |
| Thursday, July 01 | | · | LAN Party Wrap Up |
| Tuesday, June 08 | | · | Summer Musings |
| Tuesday, May 11 | | · | Uber LAN Party! |
| · | So There _IS_ Life Out There After All |
| Monday, May 03 | | · | Why Counter-Strike SUCKS |
| Thursday, April 29 | | · | The tragedy of the commons vs. the triumph of will |
| · | Welcome neophyte, to all things new |
| Wednesday, April 21 | | · | The Choice of a GNU Generation |
| Saturday, April 17 | | · | Bork Bork Bork |
| Tuesday, April 13 | | · | I am a Geek |
| Thursday, April 08 | | · | Xbox Party Wrap Up |
| Wednesday, April 07 | | · | Demorgan Laws |
| Saturday, April 03 | | · | Music Rocks the Mind Body and Soul |
| · | South Korean Powa |
| · | Electronic Voting Machines |
Older Articles
|
|
| |
|
|
|
|
|
#include <iostream>
#include "greg.h"
using namespace std;
int main()
{
// creates an instance of Greg as well as pertinent data pointers in that class
Greg *greg = new Greg();
// I guess it's better than pointing to garbage... may want to work on the constructor...
greg->freeTime = NULL;
// actually longAssCSProject inherits from the class theGMUMatrixHasYou
greg->currentTask = new theGMUMatrixHasYou::longAssCSProject();
greg->codes = true;
while((greg->currentTask)->finished != true)
{
if(greg->codes == true)
greg->insanityIndex++;
//I didn't delare sun... must be global... :-P
if(greg->insanityIndex > (sun->surface).temp)
(greg->currentTask)->finished = true;
}
// yippie the loop does eventually end... hehe
delete greg->currentTask;
// now we instantiate a much more interesting task object :-)
greg->currentTask = new girlFriend();
// :-)
greg->currentTask->touch++;
// one more time... heh
greg->currentTask->touch++;
// sorry... I have to free up memory... *slap* ouch
delete greg->currentTask;
// ahhh no don't do it
delete greg;
// all done until next coding project
return EXIT_SUCCESS;
}
|
|
Posted on Monday, September 13 @ 10:19:20 PDT by GunPlay |
|
|
|
|
| |
|
| Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name. |
|
| |
|
|
|
|
|
|