Jump to content
Banner by ~ Wizard

General Chat Thread


Apple      Bloom

Recommended Posts

For reference:

 

// Wanna know the odd part?
// When I was sick, I created a program that made use of an array, and I posted the swaurce code online.
// So I searched for it online, and pulled it out. Not easy.
// http://mlpforums.com/topic/56198-general-chat-thread/page-4575#entry1342443

#include <iostream>
#include <iomanip>
#include <string>
using namespace std;
 
int main()
{
	// Declaration of Variables
	signed int day, month, arrayNumber1, arrayNumber2;
	string YourPonyName;
	string ponyname[43] = {"Twilight Sparkle", "Rainbow Dash", "Fluttershy", "Rarity", "Applejack", "Pinkie Pie",
		"Apple Bloom", "Scootaloo", "Sweetie Belle", "Babs Seed", "Diamond Tiara", "Silver Spoon",
		"Carrot Top", "Bonbon", "Lyra", "Derpy Hooves", "Berry Punch", "Cheerilee",
		"Nurse Redheart", "Mayor Mare", "Cloudchaser", "Flitter", "Thunderlane", "Caramel",
		"Snips", "Snails", "The Great and Powerful Trixie", "Featherweight", "Octavia", "Vinyl Scratch",
		"Princess Luna", "Princess Celestia", "Princess Cadance", "Shining Armor", "a Royal Guard Pony", "Pony Joe",
		"a", "a", "a", "a", "a", "a"};
	// These things have an address in memory that's written in Hex. How do I tap into that?
	string ponyactivity[30] =
		{"discover an ancient evil with", "bake a cake with", "sail across the world with", "have a race against",
		"go fishing with", "travel to Appaloosa with", "go stargazing with", "pick apples for",
		"get punched through the fourth wall by", "will have to use the bathroom of", "hug", "surprise hug",
		"get tickled by", "write a book with", "perform a show with", "give flowers to",
		"ride a train with", "ride a balloon with", "return a letter to", "play video games with"};
	// These arrays don't have enough elements...

	// I hope this thing doesn't crash stuff up.
 
	// Main stuff begins here
	cout << "Enter your pony name.\n";
	cin >> YourPonyName;

	// Diagnostic
	if (YourPonyName == "diagnostic")
	{
		for (int count = 0; count < 42; count++)
		{
			cout << ponyname[count] << "\n";
		}
		system("pause");
	}

	cout << "Input the day and month (the number) of your birthday.\n";
	cin >> day >> month;
	arrayNumber1 = day + month - 2;

	if (month < day)
		arrayNumber2 = day - month - 1;
	else if (day < month)
		arrayNumber2 = month - day - 1;
	else if (day == month)
		arrayNumber2 = day;
	cout << "You, " << YourPonyName << ", will " << ponyactivity[arrayNumber2] << " " << ponyname[arrayNumber1] << ".\n";
	system("pause");
}

a0AgWVX.png

<>

Link to comment
Share on other sites

.... I'd not expect that from you.

You aren't supposed to. tongue.png

 

PS. Just look at my avatar.....

Edited by Bari
  • Brohoof 1

Flutters_and_Dash.png

Link to comment
Share on other sites

For reference:

 

// Wanna know the odd part?
// When I was sick, I created a program that made use of an array, and I posted the swaurce code online.
// So I searched for it online, and pulled it out. Not easy.
// http://mlpforums.com/topic/56198-general-chat-thread/page-4575#entry1342443

#include <iostream>
#include <iomanip>
#include <string>
using namespace std;

// Function prototypes
void PrintOutEveryPonyName(string [], int);
 
int main()
{
	// Declaration of Variables
	signed int day, month, arrayNumber1, arrayNumber2;
	string YourPonyName;
	const int arraysize = 42; // And no, it's not because that's the answer to everything...
	string ponyname[arraysize] = {"Twilight Sparkle", "Rainbow Dash", "Fluttershy", "Rarity", "Applejack", "Pinkie Pie",
		"Apple Bloom", "Scootaloo", "Sweetie Belle", "Babs Seed", "Diamond Tiara", "Silver Spoon",
		"Carrot Top", "Bonbon", "Lyra", "Derpy Hooves", "Berry Punch", "Cheerilee",
		"Nurse Redheart", "Mayor Mare", "Cloudchaser", "Flitter", "Thunderlane", "Caramel",
		"Snips", "Snails", "The Great and Powerful Trixie", "Featherweight", "Octavia", "Vinyl Scratch",
		"Princess Luna", "Princess Celestia", "Princess Cadance", "Shining Armor", "a Royal Guard Pony", "Pony Joe",
		"a", "a", "a", "a", "a", "a"};
	string ponyactivity[30] =
		{"discover an ancient evil with", "bake a cake with", "sail across the world with", "have a race against",
		"go fishing with", "travel to Appaloosa with", "go stargazing with", "pick apples for",
		"get punched through the fourth wall by", "will have to use the bathroom of", "hug", "surprise hug",
		"get tickled by", "write a book with", "perform a show with", "give flowers to",
		"ride a train with", "ride a balloon with", "return a letter to", "play video games with"};
	// These arrays don't have enough elements... 20 elements down, needs 10 more

	// I hope this thing doesn't crash stuff up.
 
	// Main stuff begins here
	cout << "Enter your pony name.\n";
	cin >> YourPonyName;

	// Diagnostic
	if (YourPonyName == "diagnostic")
	{
		PrintOutEveryPonyName(ponyname, arraysize);
		system("pause");
	}

	cout << "Input the day and month (the number) of your birthday.\n";
	cin >> day >> month;
	arrayNumber1 = day + month - 2;

	if (month < day)
		arrayNumber2 = day - month - 1;
	else if (day < month)
		arrayNumber2 = month - day - 1;
	else if (day == month)
		arrayNumber2 = day;
	cout << "You, " << YourPonyName << ", will " << ponyactivity[arrayNumber2] << " " << ponyname[arrayNumber1] << ".\n";
	system("pause");
}

//Arrays as function arguments?!!

// Definition of Functions
void PrintOutEveryPonyName(string ponyname2[], int size)
{
	// OMGYOUCANREALLYDOTHAT?!! GIMMIEGIMMIEGIMMIE!!!
	// But what if my array is full of strings?
	for (int index = 0; index < size; index++)
		cout << ponyname2[index] << "\n";
}
  • Brohoof 1

a0AgWVX.png

<>

Link to comment
Share on other sites

@,

 

<Insert witty line here>

 

// Wanna know the odd part?
// When I was sick, I created a program that made use of an array, and I posted the swaurce code online.
// So I searched for it online, and pulled it out. Not easy.
// http://mlpforums.com/topic/56198-general-chat-thread/page-4575#entry1342443

#include <iostream>
#include <iomanip>
#include <string>
using namespace std;

// Function prototypes
void PrintOutEveryPonyName(string [], int);
void PrintOutEveryPonyActivity(string [], int);
 
int main()
{
	// Declaration of Variables
	signed int day, month, arrayNumber1, arrayNumber2;
	string YourPonyName;
	const int arraysize1 = 42; // And no, it's not because that's the answer to everything...
	const int arraysize2 = 30;
	string ponyname[arraysize1] = {"Twilight Sparkle", "Rainbow Dash", "Fluttershy", "Rarity", "Applejack", "Pinkie Pie",
		"Apple Bloom", "Scootaloo", "Sweetie Belle", "Babs Seed", "Diamond Tiara", "Silver Spoon",
		"Carrot Top", "Bonbon", "Lyra", "Derpy Hooves", "Berry Punch", "Cheerilee",
		"Nurse Redheart", "Mayor Mare", "Cloudchaser", "Flitter", "Thunderlane", "Caramel",
		"Snips", "Snails", "The Great and Powerful Trixie", "Featherweight", "Octavia", "Vinyl Scratch",
		"Princess Luna", "Princess Celestia", "Princess Cadance", "Shining Armor", "a Royal Guard Pony", "Pony Joe",
		"a", "a", "a", "a", "a", "a"};
	string ponyactivity[arraysize2] =
		{"discover an ancient evil with", "bake a cake with", "sail across the world with", "have a race against",
		"go fishing with", "travel to Appaloosa with", "go stargazing with", "pick apples for",
		"get punched through the fourth wall by", "will have to use the bathroom of", "hug", "surprise hug",
		"get tickled by", "write a book with", "perform a show with", "give flowers to",
		"ride a train with", "ride a balloon with", "return a letter to", "play video games with"};
	// These arrays don't have enough elements... 20 elements down, needs 10 more
 
	// Preliminary input
	cout << "Enter your pony name.\n";
	cin >> YourPonyName;

	// Diagnostic for printing out every pony name
	if (YourPonyName == "diagnostic")
	{
		PrintOutEveryPonyName(ponyname, arraysize1);
		system("pause");
	}
	// Diagnostic for printing out every pony activity
	else if (YourPonyName == "activity")
	{
		PrintOutEveryPonyActivity(ponyactivity, arraysize2);
		system("pause");
	}
	// Main stuff happens here
	else
	{
		cout << "Input the day and month (the number) of your birthday.\n";
		cin >> day >> month;
		arrayNumber1 = day + month - 2;
		if (month < day)
			arrayNumber2 = day - month - 1;
		else if (day < month)
			arrayNumber2 = month - day - 1;
		else if (day == month)
			arrayNumber2 = day;
		cout << "You, " << YourPonyName << ", will " << ponyactivity[arrayNumber2] << " " << ponyname[arrayNumber1] << ".\n";
		system("pause");
	}
}

//Arrays as function arguments?!!

// Definition of Functions
void PrintOutEveryPonyName(string ponyname2[], int size)
{
	// OMGYOUCANREALLYDOTHAT?!! GIMMIEGIMMIEGIMMIE!!!
	// But what if my array is full of strings?
	for (int index = 0; index < size; index++)
		cout << ponyname2[index] << "\n";
}

void PrintOutEveryPonyActivity(string ponyactivity2[], int size)
{
	for (int index = 0; index < size; index++)
		cout << ponyactivity2[index] << "\n";
}
Yes, really. More coding.
  • Brohoof 1

a0AgWVX.png

<>

Link to comment
Share on other sites

Dude.

I have a weird, noncontagious fungus on me, and I had to put a type of shampoo all over my body before putting my pajamas on, and it feels weird right now.

 

FUN FACT

The yeast that makes the fungus lives on everyone. Warm, moist climates can, but not guaranteed, make it make the fungus.

Link to comment
Share on other sites

he-he-how's it goin, bronies? my name is PAAAAAARADOX, and welcome to another exciting episode of General Chat Thread. Now let's see what's goin on here. Stuff about perverts in the fandom and something about a fungus. Huh, ok then...

  • Brohoof 1

post-3479-0-68552300-1361330583.png

The Troubled Fighter: Paradox The Creative Romantic: Skyline The Blind Psychic: Psych

Signature: CrystalRose & MatrixChicken

 

 

Link to comment
Share on other sites

he-he-how's it goin, bronies? my name is PAAAAAARADOX, and welcome to another exciting episode of General Chat Thread. Now let's see what's goin on here. Stuff about perverts in the fandom and something about a fungus. Huh, ok then...

Ohai, Doxy. :3

 

How ya doing bud?


7Crdz3K.png

Link to comment
Share on other sites

he-he-how's it goin, bronies? my name is PAAAAAARADOX, and welcome to another exciting episode of General Chat Thread. Now let's see what's goin on here. Stuff about perverts in the fandom and something about a fungus. Huh, ok then...

Don't forget me. I got more stuff in my program. See the swaurce code above.


a0AgWVX.png

<>

Link to comment
Share on other sites

Ohai, Doxy. :3

 

How ya doing bud?

eh, doin ok i guess.

 

Don't forget me. I got more stuff in my program. See the swaurce code above.

too much for my mind to comprehend right now...

post-3479-0-68552300-1361330583.png

The Troubled Fighter: Paradox The Creative Romantic: Skyline The Blind Psychic: Psych

Signature: CrystalRose & MatrixChicken

 

 

Link to comment
Share on other sites

"OMG, look at all the mold" serious, or "Y SO SRS" serious?Hey, you wanna be my guinea pig?

Like the mold one.

 

Sure, but first; for what?

 

then tell it to stop being so serious and lighten up! XD

IM TRYING

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Join the herd!

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...