Caption Contest
- mountainmage
- Mage of the Mountains
- Posts: 9595
- Joined: Mon May 01, 2006 11:42 am
- Location: Right here. Right now.
Re: Caption Contest
Yes, it was only back in the early history of the forum that we did not know it.++
No more white horses ♬ ♫ ♪ ılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılı ♪ ♫ ♬ for you to ride away
- ChooChooTrain
- Ludicrous Rationale
- Posts: 257
- Joined: Tue Mar 10, 2009 3:38 pm
- Location: Virginia Tech
Re: Caption Contest
Oh, ok.mountainmage wrote:Yes, it was only back in the early history of the forum that we did not know it.++
++
"Man is least himself when he talks in his own person. Give him a mask, and he will tell you the truth." -Oscar Wilde
- Lethal Interjection
- Death by Elocution
- Posts: 8048
- Joined: Wed Oct 12, 2005 2:17 pm
- Location: Behind your ear. It's magic!
- Contact:
Re: Caption Contest
No, no, yes. It is still in the experiment stages.ChooChooTrain wrote:Wait, did you guys discover the Postcount++ Formula?
-
- Posts: 65
- Joined: Sat Feb 28, 2009 7:50 am
Re: Caption Contest
A little program I wrote... don't critisize my code, I know it probably will have some errors but I plan to get this running - it is late, will make it work tomorrow - if anyone wants to create websters.doc for me go hard
edit: by it is late, I mean I made it in notepad in fifteen min and didn't run it through any compiler - you don't need to point out any errors involving ; - not to mention my word function....meh
endi2: had a smoke a realized that the arrays are useless, just set 2 strings and indata >> string1, indata >> string 2, and the array wont work with the string/whitespace combo... dont bring it up haha
no copying boys - this is mine hahhahahaha
edit: by it is late, I mean I made it in notepad in fifteen min and didn't run it through any compiler - you don't need to point out any errors involving ; - not to mention my word function....meh
endi2: had a smoke a realized that the arrays are useless, just set 2 strings and indata >> string1, indata >> string 2, and the array wont work with the string/whitespace combo... dont bring it up haha
Postcout++.cpp wrote: #include <iostream>
#include <fstream>
#include <string>
using namespace std;
string wordgen[string&, int]; //function to generate random word
int main()
{
string rand; //to be sent to wordgen
string word; //word gen'd
int x = 5;
ifstream indata;
indata.open(websters.txt) // opens dictionary file
while(x>0)
{
word = lettergen(rand, x); //grabs letter and sets to word
if x>1
cout << word << " " << //cout's the word and creates whitespace for next letter
else
cout << word << "." << cout's the word and creates a period
x--
}
indata.close(); // close dictionary
return 0;
}
string wordgen(string& rand,int x)
{
string array[256]; //an array to hold word and role
while(x=5)
{
indata >> array[256]; // will only grab an adjevtive and will cycle through
if (array[2] = ADJ) // while loop untill a adjevtive is grabbed
{
rand = array[1];
return rand; //will interupt while loop and return to main function
}}
while(x=4)
{
indata >> array[256]; // will only grab a noun and will cycle through
if (array[2] = N) // while loop untill a noun is grabbed
{
rand = array[1];
return rand; //will interupt while loop and return to main function
}}
while(x=3)
{
indata >> array[256]; // will only grab a buffer word and will cycle through
if (array[2] = Buf) // while loop untill a buffer is grabbed
{
rand = array[1];
return rand; //will interupt while loop and return to main function
}}
while(x=2)
{
indata >> array[256]; // will only grab an Adverb and will cycle through
if (array[2] = ADV) // while loop untill an adverb is grabbed
{
rand = array[1];
return rand; //will interupt while loop and return to main function
}}
while(x=1)
{
indata >> array[256]; // will only grab a verb and will cycle through
if (array[2] = VRB) // while loop untill a verb is grabbed
{
rand = array[1];
return rand; //will interupt while loop and return to main function
}}
}
Combine the two and you getwebsters.txt wrote: calmly ADV
(...)
criticize V
(...)
posters N
(...)
seasoned ADJ
(...)
will BUF
(...)
websters.txt wrote: Talented posters will calmly criticize
no copying boys - this is mine hahhahahaha
-
- Posts: 3
- Joined: Sat Feb 28, 2009 4:59 pm
Re: Caption Contest
Ok... who won already... >.<
-
- Posts: 65
- Joined: Sat Feb 28, 2009 7:50 am
Re: Caption Contest
what he saidmountainmage wrote:Seriously. Did you know your two posts so far have been: your entry into the contest, and whining about announcing the winner in here? We can be a fun bunch once you get to know us.
- mountainmage
- Mage of the Mountains
- Posts: 9595
- Joined: Mon May 01, 2006 11:42 am
- Location: Right here. Right now.
Re: Caption Contest
Minus the last sentence.
No more white horses ♬ ♫ ♪ ılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılı ♪ ♫ ♬ for you to ride away
- ChooChooTrain
- Ludicrous Rationale
- Posts: 257
- Joined: Tue Mar 10, 2009 3:38 pm
- Location: Virginia Tech
Re: Caption Contest
Well done, Signious. You transitioned so quickly from being the "only two posts guy" to the "convincing people not to be the only two posts guy guy."Signious wrote:what he saidmountainmage wrote:Seriously. Did you know your two posts so far have been: your entry into the contest, and whining about announcing the winner in here? We can be a fun bunch once you get to know us.
"Man is least himself when he talks in his own person. Give him a mask, and he will tell you the truth." -Oscar Wilde
- mountainmage
- Mage of the Mountains
- Posts: 9595
- Joined: Mon May 01, 2006 11:42 am
- Location: Right here. Right now.
Re: Caption Contest
Just one of the many perks of becoming one of us. You try to get others to become one of us. You see, the forum is a self-replicating virus, and it provides its own means of transmission. The newly infected become part of our hive mind, though unfortunately some manage to escape.
No more white horses ♬ ♫ ♪ ılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılı ♪ ♫ ♬ for you to ride away
- LordRetard
- The Most Retardedest
- Posts: 9967
- Joined: Mon Sep 19, 2005 8:44 pm
- Location: My Parents' Basement
Re: Caption Contest
Yes, mountainmage, you too have grown wise and knowledgeable from becoming one of us.
-
- Posts: 65
- Joined: Sat Feb 28, 2009 7:50 am
Re: Caption Contest
well, I am glad that you see me as one of you guys... I have to say this forum becomes one of the highpoints of my visits to the computator
- mountainmage
- Mage of the Mountains
- Posts: 9595
- Joined: Mon May 01, 2006 11:42 am
- Location: Right here. Right now.
Re: Caption Contest
You were wise enough to return to the fold after years of running. I hope your body has healed from your punishment.LordRetard wrote:Yes, mountainmage, you too have grown wise and knowledgeable from becoming one of us.
No more white horses ♬ ♫ ♪ ılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılı ♪ ♫ ♬ for you to ride away
- LordRetard
- The Most Retardedest
- Posts: 9967
- Joined: Mon Sep 19, 2005 8:44 pm
- Location: My Parents' Basement
Re: Caption Contest
Hahah, it was more like "fuck this, I don't have to hang around here to have people insult me, I get that every day." Plus it was kind of boring. Being a bit older means I'm a bit more reasonable and easier to deal with, I think.mountainmage wrote:You were wise enough to return to the fold after years of running. I hope your body has healed from your punishment.LordRetard wrote:Yes, mountainmage, you too have grown wise and knowledgeable from becoming one of us.
EDIT: Just realised that I'm #12 on the members list, and #5 with a significant post count. If we get a lot of people coming here I can probably trick them into thinking I've been here forever. Awesome.
-
- Posts: 3
- Joined: Sat Feb 28, 2009 4:59 pm
Re: Caption Contest
Meh, I became a two post whining complainer by choice... As my God Given... (for being born in America) right. I think I may have just left Zach speechless by the awesomeness of my entry.
- mountainmage
- Mage of the Mountains
- Posts: 9595
- Joined: Mon May 01, 2006 11:42 am
- Location: Right here. Right now.
Re: Caption Contest
Fair enough. You also have the right to come join us in the rest of the forum.
No more white horses ♬ ♫ ♪ ılıll|̲̅̅●̲̅̅|̲̅̅=̲̅̅|̲̅̅●̲̅̅|llılı ♪ ♫ ♬ for you to ride away