Jump to content
SubSpace Forum Network

Recommended Posts

Posted (edited)

I've been coming on to these forums lately and it feels so bleak and boring. Time to spruce some stuff up!

 

Is there an easy way to split an array of 100 integers for example and write 3 numbers per line separated by whitespace into a file?

Edited by Xog
Posted

Doesn't seem like much of a joke...

 

for (i = 0; i < 100; i++)
{
   if (i % 3 == 2)
   {
       printf("%d\n", array[i]);
   }
   else
   {
       printf("%d ", array[i]);
   }
}
printf("\n");

 

#include "realeasyfunctions.h" / Split100intArrayWrite3xLineWithWhitespaceInto(FILE* f);

Posted

What's the difference between a truckload of babies and a truckload of bowling balls?

Not much if you used the bowling balls to knock the babies dead... there'll be parts of babies in your truckload of bowling balls.

Posted (edited)

A blonde paint job

 

A blonde, wanting to earn some money, decided to hire herself out as a handyman-type and started canvassing a wealthy neighborhood. She went to the front door of the first house and asked the owner if he had any jobs for her to do.

 

"Well, you can paint my porch. How much will you charge?"

The blonde said, "How about 50 dollars?" The man agreed and told her that the paint and ladders that she might need were in the garage. The man's wife, inside the house, heard the conversation and said to her husband, "Does she realize that the porch goes all the way around the house?"

The man replied, "She should. She was standing on the porch."

 

A short time later, the blonde came to the door to collect her money.

"You're finished already?" he asked. "Yes," the blonde answered, "and I had paint left over, so I gave it two coats. "Impressed, the man reached in his pocket for the $50. "And by the way," the blonde added,

"that's not a Porch, it's a Ferrari."

 

Edited by Xog
Posted

3 cats are sitting on a tin roof? Which one will fall off first?

 

 

The one with the smallest μ

 

 

 

 

 

 

 

 

There are 10 types of people in the world, Those who understand binary and those that do not.

 

 

 

 

 

 

 

Why did heisenberg get a speeding ticket?

 

 

he looked out of the window and forgot how fast he was going

 

 

 

 

 

 

 

 

yeah.. I'll get my coat

Posted

Your mother!

 

(sorry am in a silly mood and can't help myself)

 

 

silence

 

 

 

A blonde goes into an electrical shop and says to the man at the till "I would like to buy that TV over there"

 

The man at the till says "Please leave, we don't serve blondes"

 

The blond waits a few days for the original till man to be away and returnes again asking to buy the TV.

 

Again she is told "we don't serve blondes".

 

Then the blonde has a great idea. She dyes her hair brunette and wears some large sunglasses so they won't recognise her face.

Confident that she will get her TV this time she marches up to the desk and says "hello, I would like to buy that TV over there"

 

The man looks at her and says "for the last time!, WE DO NOT SERVE BLONDES!"

 

"How did you know I am blonde?" she asks to which the man replies "Simple, That's a microwave"

Posted
I'm still confused about this thread... Is it really meant to be for jokes, or did Xog really need this simple script thing and used a sarcastic title?
  • 1 month later...
Posted

Ok, so a guy and his girl friend walk into a gentelmans club. To make this easy on me the guy is Joe and the girl is 4. So a stripper says, "I will let you in for you dont laugh at my 100 jokes." So at joke 45 Joe laughs, so he gets mad and goes home. The stripper asks 4, "Why did you laugh, I didn't even tell the joke yet?" So 4 resopnds, "I just understood whypeople always laughed at me."

 

Eh. Not really a joke. More like a real story i heard. blum.gif

Posted

the question was Is there an easy way to split an array of 100 integers for example and write 3 numbers per line separated by whitespace into a file?

 

the answer was #include "realeasyfunctions.h" / Split100intArrayWrite3xLineWithWhitespaceInto(FILE* f);

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...