Jump to content

Just Got Back From Camp And Need Good Challenge


Archerzz

Recommended Posts

  • Replies 50
  • Created
  • Last Reply

Top Posters In This Topic

church camp is make for peopel to hook up, thats all that happens! welcome back from camp.

520397[/snapback]

 

 

second that

 

she is far from holy she stared to kiss me and she got high before service and smoked on a regular basis.

520415[/snapback]

 

 

she's a keeper

Share this post


Link to post
Share on other sites

remember that simpsons episode where bart trys to be good to impress this church girl and she ends up wose than him

lol that was a funny one

be carefull those are the ones that dump you when they are bored

Share this post


Link to post
Share on other sites

Hey, I am back from a week at church camp and what a week it was.  Who would have thought that i would make out with a girl over 20 times in one day at chuch camp......

but I am not complaning.

 

Neways back to the programming challenge I have gone a week without even thininking of computers (I know I have sinned please forgive me) and I need a good program to get me back into the swing of things.

520158[/snapback]

 

'Tis cool. Good luck with the girl! I wanna have a go at KBs thing myself before I start thinking up something easy you might be able to do (if I can think one up at all)

 

For the MAD, eh? :P

 

Use a pointer to point to a pointer that points to an array of pointers that all point to a pointer that points to a float.

 

*cracks open Dev-C++ before markie challenges him*

 

EDIT:

 

I WAS dangED CLOSE!

 

#include <iostream>
#include <stdlib.h>

using namespace std;

int theThingBeingPointedTo = 3;

int* firstPointer;
int** secondPointer = &firstPointer;
int*[5] pointerArray; //Will use a simple for loop to assign the pointers
//int** thirdPointer = &finalPointer;
int* finalPointer = &theThingBeingPointedTo;
int** thirdPointer = &finalPointer;

int main() {
   
   for(int i=0;i<5;i++)
   {
       *pointerArray[i] = &thirdPointer;
   }
cout << "The number being pointed to is: " << *finalPointer; << "\n\n\n"

system("pause")

return 0;

}

520258[/snapback]

 

I assume you're waiting for me to answer that one? :lol:

Share this post


Link to post
Share on other sites

Yes... yes I am...

520479[/snapback]

 

:O didn't think you'd be awake. I'll unedit and post here...

 

'Twas a tricky one..

 

#include <iostream>
#include <stdlib.h>

using namespace std;

int main() {
float theThingBeingPointedTo = 3;

float**** p;
float*** pToArray;
float** pointerArray[5]; //Will use a simple for loop to assign the pointers
float* finalPointer;

p = &pToArray;
pToArray = &pointerArray[1];

   for(int i=0;i<5;i++)
   {
       pointerArray[i] = &finalPointer;
   }

 finalPointer = &theThingBeingPointedTo;

cout << "The number being pointed to is: " << ****p << "\n\n\n";
cout << "The number being pointed to is: " << ***pToArray << "\n\n\n";
cout << "The number being pointed to is: " << **pointerArray[1] << "\n\n\n";
cout << "The number being pointed to is: " << *finalPointer << "\n\n\n";

system("pause");

return 0;
}

Share this post


Link to post
Share on other sites

GAH! I craping knew it! It was them danged asteriks again!

 

*bashes the 8 key of his keyboard*

 

EDIT: Wait... I almost came on par with markie's programming skills?

 

Daaaaamn.... I'm good :D.

Edited by Kamikaze_Badger

Share this post


Link to post
Share on other sites

GAH! I craping knew it! It was them danged asteriks again!

 

*bashes the 8 key of his keyboard*

 

EDIT: Wait... I almost came on par with markie's programming skills?

 

Daaaaamn.... I'm good :D.

520498[/snapback]

 

lol it was indeed. Tricky stuff, even took me a while to get it... :rolleyes: I think I will excuse myself outta that one by reminding myself that I have had about 4 hours sleep last night / this morning (2am - 6am) :)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...