chevron_left chevron_right
Login Register invert_colors photo_library


Upgrade your account to hide advertisements.

Thread Rating:
  • 0 Vote(s) - 0 Average


filter_list [Source] Idea Generator
Author
Message
[Source] Idea Generator #1
This program was one of my first C++ programs I've ever made. It's literally the simplest thing ever, so don't think I am some God for making this, or don't think this was hard to make at all because it wasn't. Basically, all it does is, it generates ideas for you to do when you're bored and have nothing to do. Like I said, this was one of my first ever programs I made when I started C++. I found this in my old Visual Studio project files and just felt like sharing it with you guys because it's kind of special and nostalgic to me.

Anyways, here it is, lol:

Code:
// This is a program that generates ideas for you to do when you're bored and have nothing to do
// Made by: IcyJake

#include <iostream>
#include <string>
#include <stdlib.h>
#include <time.h>
#include <random>

using std::cout;
using std::endl;

int main()
{
   srand(time(NULL));
   
   string ideaArray[] = {"Go on a walk", "Organize or change up your room", "Code", "Eat", "Drink", "Call up a friend", "Take a bubble bath", "Plan a party", "Listen to music", "Watch TV", "Play a game", "Go swimming", "Hang out with family or friends", "Research new ways to make money", "Make a YouTube video", "Spend time with pets (if you have any)", "Watch YouTube videos", "Make a fort", "Smoke", "Excercise", "Make your own game", "Think about your future", "Learn magic tricks", "Test your memory", "Take fun quizzes online", "Browse social media", "Paint", "Do a puzzle", "Try on outfits", "Read", "Sleep", "Make up scenarios in your head", "Look at old pictures", "Get a job if you don't have one", "Pick up trash where you live", "Try to make it through an hour without touching the floor", "Read the latest news", "Have a fire", "Prank call people", "Find stuff that you don't use that you could sell", "Go fishing", "Go camping"};
   
   string idea = ideaArray[rand() % 42];
   
   cout << idea << endl;
   
   return 0;
}

Reply

RE: [Source] Idea Generator #2
Extremely basic, but nonetheless, serves It's purpose well.

For nostalgic purposes, It's good you've actually kept your projects.
[Image: AD83g1A.png]

Reply

RE: [Source] Idea Generator #3
(08-11-2018, 05:24 AM)mothered Wrote: Extremely basic, but nonetheless, serves It's purpose well.

For nostalgic purposes, It's good you've actually kept your projects.

Yeah, I agree. That was at least one good decision I've made.

Reply

RE: [Source] Idea Generator #4
It's interesting to look at others code and how they code. Thanks for sharing! I'm getting Visual Studio soon for free because I'm a student so I might try this out.

Reply

RE: [Source] Idea Generator #5
(08-11-2018, 07:11 PM)skrtja Wrote: It's interesting to look at others code and how they code. Thanks for sharing! I'm getting Visual Studio soon for free because I'm a student so I might try this out.

Thanks, man! Also, there's already free versions of Visual Studio. You can just get it right now. Tongue

Reply

RE: [Source] Idea Generator #6
(08-11-2018, 10:10 PM)IcyJake Wrote:
(08-11-2018, 07:11 PM)skrtja Wrote: It's interesting to look at others code and how they code. Thanks for sharing! I'm getting Visual Studio soon for free because I'm a student so I might try this out.

Thanks, man! Also, there's already free versions of Visual Studio. You can just get it right now. Tongue
Thanks for letting me know

Reply






Users browsing this thread: 1 Guest(s)