Amber Jain's weblog (OLD)

Visit my new weblog at http://amber-jain.blogspot.in/

minus_quotes.c

with 3 comments

/********************************************
* Quotes that drive my life
* — AmbrNewlearner
* URL : http://thinkminus.110mb.com/
* Blog : https://thinkminus.wordpress.com/
* Contact: ithinkminus@gmail.com
*********************************************/

#define COUNT 34
#include “stdio.h”

//#include “thinkminus”

int main()
{

int choice;

/* Just do a google search for “quotes” and you will get thousands of results. So, you might be thinking, what is the purpose of devoting a blog-post for this purpose. Well, the idea is pretty simple and clear. I felt that it would be pretty nice if I collect all of them at one place so I don’t regret forgetting them at some time in future as these quotes drive me and my life. These quotes conform to thinkminus approach. Thanks to all the great men mentioned here for these wonderful quotes. */

printf(“\n\n\n\n\t\t\tQUOTES that drive my life\n”);
printf(“\t\t\t — AmbrNewlearner\n\n”);
printf(“\t\t Contact: ithinkminus@gmail.com\n\n\n”);
printf(“Details: Number of quotes in this program = %d\n”, COUNT);
printf(” Last updated: 16 february, 2009\n”);
printf(“____________________\n”);
printf(” 1. Socrates\n\n 2. Steve Jobs\n\n 3. Linus Torvalds\n\n 4. Albert Einstein\n\n 5. Miscellaneous\n\n 6. Unknown\n”);
printf(“____________________”);
printf(” \n\nEnter your choice = “);
scanf(“%d”, &choice);

printf(“\n\n”);
printf(“___________________________________________________________________________\n\n”);

switch(choice)
{
case 1:
printf(“Quotes: Socrates\n\n\n”);
printf(“The only good is knowledge and the only evil is ignorance. \n\n”);
printf(“The unexamined life is not worth living. \n\n”);
printf(“I know that I know nothing. \n\n”);
break;

case 2:
printf(“Quotes: Steve Jobs\n\n\n”);
printf(“Design is not just what it looks like and feels like. Design is how it works. \n\n”);
printf(“Innovation distinguishes between a leader and a follower. \n\n”);
printf(“The only way to do great work is to love what you do. \n\n”);
printf(“There’s a phrase in Buddhism, ‘Beginner’s mind.’ It’s wonderful to have a beginner’s mind. \n\n”);
printf(“We think basically you watch television to turn your brain off, and you work on your computer when you want to turn your brain on. \n\n”);
printf(“We’re here to put a dent in the universe. Otherwise why else even be here? \n\n”);
printf(“Sometimes when you innovate, you make mistakes. It is best to admit them quickly and get on with improving your other innovations. \n\n”);
printf(“Stay hungry. Stay foolish. \n\n”);
break;

case 3:
printf(“Quotes: Linus Torvalds\n\n\n”);
printf(“I’m generally a very pragmatic person: that which works, works. \n\n”);
printf(“Intelligence is the ability to avoid doing work, yet getting the work done. \n\n”);
printf(“Most good programmers do programming not because they expect to get paid or get adulation by the public, but because it is fun to program. \n\n”);
break;

case 4:
printf(“Quotes: Albert Einstein\n\n\n”);
printf(“You have to learn the rules of the game. And then you have to play better than anyone else. \n\n”);
printf(“Things should be made as simple as possible, but not any simpler. \n\n”);
printf(“The only thing that interferes with my learning is my education. \n\n”);
printf(“The difference between stupidity and genius is that genius has its limits. \n\n”);
printf(“Strive not to be a success, but rather to be of value. \n\n”);
printf(“Solitude is painful when one is young, but delightful when one is more mature. \n\n”);
printf(“Small is the number of people who see with their eyes and think with their minds\n\n”);
printf(“Once we accept our limits, we go beyond them. \n\n”);
printf(“Learn from yesterday, live for today, hope for tomorrow. The important thing is not to stop questioning. \n\n”);
printf(“It’s not that I’m so smart, it’s just that I stay with problems longer. \n\n”);
printf(“Intellectuals solve problems, geniuses prevent them. \n\n”);
printf(“Information is not knowledge. \n\n”);
printf(“I think and think for months and years. Ninety-nine times, the conclusion is false. The hundredth time I am right. \n\n”);
printf(“I shall never believe that God plays dice with the world. \n\n”);
printf(“I have no special talent. I am only passionately curious. \n\n”);
printf(“Education is what remains after one has forgotten what one has learned in school\n\n”);
printf(“A question that sometimes drives me hazy: am I or are the others crazy? \n\n”);
break;

case 5:
printf(“Quotes: Miscellaneous\n\n\n”);
printf(“Sorry! Nothing in this section.\n\n”);
break;

case 6:
printf(“Quotes: Unknown\n\n\n”);
printf(“Machines should work. People should think. \n\n”);
printf(“To have no errors would be life without meaning-No struggle, no joy. \n\n”);
break;

default:
printf(“Invalid option! Press 1 to try again!\n\n”);
break;
}
printf(“___________________________________________________________________________\n\n”);

printf(“\n\nPress any key to exit this program….”);
fflush(stdin);
getchar();

printf(” \n\nI will try to update this list with new quotes (if I find one) that impact me. That’s it! “);
printf(“Program exitted successfully…\n”);

return(0);
}

Advertisements

Written by Amber Jain

February 16, 2009 at 5:32 PM

3 Responses

Subscribe to comments with RSS.

  1. mast quotes hai yar

    rohan

    February 16, 2009 at 7:21 PM

  2. Thanks ๐Ÿ™‚

    thinkminus

    February 18, 2009 at 5:25 PM

  3. re: case 6.

    Very cool, I wrote the haiku (“to have no errors…”), but you don’t have to attribute it to me ๐Ÿ™‚

    re: case 2.

    I thought everyone who was anyone had a Beginner’s Mind.

    Brian Porter

    May 25, 2009 at 11:19 PM


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: