User:Ray Calvin Baker/Kurzweil cpp

Since my Microsoft Visual C++ 6.0 (32-bit) compiler seems to be incompatible with my new laptop with Windows 7 (64-bit) OS, and since I have found that some of my old QBasic programs work wonderfully with the QB64 compiler, FREE from the Wikipedia, I have decided to make a fresh programming start. I need to port these programs to QB64 to continue. Ray Calvin Baker 04:02, 28 November 2011 (UTC) Begin Newsletter Source Code  // This is the "Kurzweil.cpp" file: // Defines the entry point for the console application. // // NO COPYRIGHT! This is a FREE public domain // INSTRUMENT OF MATH INSTRUCTION!


 * 1) include "stdafx.h"
 * 2) include 

int Connections(int nOldIdeas); void Continue(void); int ContinueOrEsc(void); int PlayTheGame(int nOldIdeas);

int main(int argc, char* argv[]) { int nOldIdeas = 0;

printf("Hello World!\t\t// NO COPYRIGHT! This is a FREE public domain\n"); printf("Wake up, World!\t\t// INSTRUMENT OF MATH INSTRUCTION!\n\n");

printf("Carrying the idea of \"Simultaneous Book Reports\" (AKA \"Library Reports\"),\n"); printf("as begun in the Wikiversity Sandbox, in a conversation\n"); printf("between Simple Simon, Tour Guide Extraordinaire,\n"); printf("and THE PI-MAN (\"Yours Truly\"), one step further,\n"); printf("I submit this collection of ideas from various sources, entitled\n\n"); printf("POEM COMPOSED IN MICROSOFT VISUAL C++ 6.0 INTEGRATED DEVELOPMENT ENVIRONMENT\n\n"); printf("Thus begins the PROLOGUE of the epic journal,\n"); printf("_THE_LAST_B._S._HISTORY_BOOK_IN_HISTORY_\n"); printf("(where \"B. S.\" means \"Before the Singularity\").\n\n");

printf("Now is a good time to make this text window as big as possible.\n"); printf("There are small buttons \"_ [] X\" at the top right of this window.\n"); printf("Use the mouse to click on the \"[]\" button, then ...\n"); Continue;

printf("\nThis program is about as simple as programs get \n"); printf("-- no fancy graphics -- text only.\n"); printf("Its purpose is to present a game invented by Ray Kurzweil,\n"); printf("(Source: _Re-invent_, by Tom Peters, page 23)\n"); printf("adapted for second-grade level arithmetic by Ray Calvin Baker,\n"); printf("as a timely news report, for the edification of all.\n\n");

printf("HOW MANY ROUNDS OF THIS GAME CAN YOU PLAY?\n"); printf("(My computer starts giving nonsensical answers after only 9 rounds.)\n"); printf("(The ordinary rules break down at a \"SINGULARITY\".)\n\n"); printf("Before anyone objects, \"Second-graders aren't ready for this stuff!\",\n"); printf("please let me say, \"YOU aren't ready for this stuff!\"\n"); printf("The future is coming at us at 669,600,000 miles per hour,\n"); printf("and NONE of us are ready!\n\n"); printf("You are encouraged to use a calculator, \n"); printf("though the numbers may get too big, very fast.\n"); printf("Ask your teacher to make sure you \"make no mistake\" (a Presidential quote).\n"); printf("You may share this game with older children and adults, \n"); printf("but they may not believe your reports.\n"); printf("\"Who hath believed our report?\" -- Isaiah 53:1)\n");	printf("(\"And these signs will accompany those who believe....\" -- Jesus, Mark 16:17)\n\n");	printf("I'm not worried about \"no child left behind\" (another Presidential quote)\n");	printf("although I'm inclined to think that the quote means \n\"no progress for any child\"\n");	printf("-- I'm concerned about EVERYBODY LEFT BEHIND!\n\n");	Continue;

printf("\n\tTHE FIRST PART OF THE EXPLANATION OF THE GAME\n"); printf("\nHow fast do ideas grow? A very simple model suggests that ideas grow\n"); printf("about as fast as people (or computers) can make connections between them.\n\n"); printf("Let's try to understand how this works.\n"); printf("I'll start with 0 ideas.\n"); Continue;

printf("\nNumber of Old Ideas=%d; Number of connections=%d\n", nOldIdeas, Connections(nOldIdeas)); printf("That makes sense -- no old ideas; therefore, no connections!\n\n"); printf("Let's try the next number.\n"); Continue; nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n", nOldIdeas, Connections(nOldIdeas)); printf("This also makes sense; 1 old idea, but nothing to connect it to \n-- so, no connections!\n\n"); Continue; nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n\n", nOldIdeas, Connections(nOldIdeas)); printf("That worked. Here's a diagram: O---O\n"); Continue; nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n\n", nOldIdeas, Connections(nOldIdeas)); printf("That worked even better! Here's another diagram:\n"); printf(" O\n"); printf(" / \\ \n"); printf("O---O\n\n"); printf("If you keep doing this long enough, you will crash the computer.\n"); printf("(I got to 25200 before I got tired and pressed the \"Esc\" key.)\n");

printf("\nThe computer will be using a simple recipe to calculate \nthe number of connections.\n"); printf("1. Remember the number of old ideas.\n"); printf("2. Subtract 1 from the number of old ideas.\n"); printf("3. Multiply the result from step 2 by the number you remembered in step 1.\n"); printf("4. Divide the result from step 3 by the number 2.\n"); printf("5. The result from step 4 is the number of connections\n"); printf("That is clear-as-crystal math -- so simple a computer can do it!\n");

printf("Press the \"Esc\" key when you want to move on \nto the second part of the explanation.\n"); while ( ContinueOrEsc != 27 ) { nOldIdeas++; printf("\nNumber of Old Ideas=%d; Number of connections=%d\n\n", 			nOldIdeas, Connections(nOldIdeas)); } // wend

printf("\n\tSECOND PART OF THE EXPLANATION OF THE GAME\n\n"); printf("This part of the game is as simple as the recipe to calculate distance,\n"); printf("given rate of travel, and the time of travel.\n"); printf("The recipe: Multiply rate of travel, and the time of travel.\n"); printf("If the units you use are correct and consistent, \nthe result is distance traveled.\n"); printf("Example: Walk at a rate of 4 miles per hour for 2 hours. \nYou will travel 8 miles.\n"); printf("I will make use of some variations of this recipe.\n\n");

printf("We can start the game with 2 ideas. \nRay Kurzweil supposes that it took 1000\n"); printf("years to make the connection between these 2 ideas \nand create a \"paradigm shift\" --\n"); printf("a radical change in the way people think and do things.\n"); printf("(I used a little bit of AL GEBRA here. \nSurely you will want to study AL GEBRA!)\n"); printf("To go 8 miles at a rate of 4 miles per hour takes 2 hours.\n"); printf("To make a \"paradigm shift\" using 2 ideas takes 1000 years.\n"); printf("The way I make the numbers work is to divide 2000 by the number of old ideas\n"); printf("to calculate the length of time (in years) until the next \"paradigm shift\".\n"); Continue;

printf("\nToday's topic is NOT dimensional analysis, \n"); printf("but I said above, that the units should be correct and consistent.\n"); printf("I will \"make it so\", and demonstrate.\n"); printf("Distance (the unit is \"miles\")\n"); printf("Rate (unit is \"miles per hour\"\n");	printf("Time (unit is \"hours\")\n\n");	printf("Distance (miles) = Rate (miles) multiplied by Time (hours).\n");	printf("                       ---\n");	printf("                        (hour)\n\n");	printf("When the equation is written this way, dimensional analysis makes sense.\n");	printf("On the right side of the equation, \n(hours) above the --- line cancels (hour) below the line,\n");	printf("leaving only (miles), which is the correct unit for Distance.\n");

printf("I did some AL GEBRA to re-arrange the recipe. I ended up with:\n\n"); printf("Time (hours) = Distance (miles) divided by Rate (miles)\n"); printf("                                               ---\n"); printf("                                           per (hour)\n\n"); printf("When you learn to do arithmetic with fractions, \nyou will learn how to handle \"divided by\".\n"); printf("The relevant rule is \"turn the divisor upside-down, then multiply.\"\n"); printf("This puts my recipe into its final, useful form:\n\n"); printf("Time (hours) = Distance (miles) multiplied by     (hour)\n"); printf("                                                  ---\n"); printf("                                             Rate (miles)\n\n");

printf("The metaphorical equivalent of distance is 2000 ideas per \"paradigm shift\".\n"); printf("The metaphorical equivalent for rate is ideas per year.\n"); printf("We are trying to calculate Time Until the Next \"Paradigm Shift\" (in years).\n\n"); Continue;

printf("\nThe important recipe is:\n\n"); printf("Time (years)          =    2000 (ideas)            divided by (ideas)\n"); printf("    ---                     ---                       --- \n"); printf("per (\"paradigm shift\")      per (\"paradigm shift\")            (year)\n\n"); printf("\"Turn the divisor upside-down, then multiply.\" We get:\n\n"); printf("Time until     (years)     = 2000 (ideas)        multiplied by (year)\n"); printf("next \"paradigm shift\"             ---                      ---\n"); printf("                              per (\"paradigm shift\"            (idea)\n\n");	printf("But, today's topic is NOT dimensional analysis, so let's move on, \n");

printf("\n\tHOW TO PLAY THE GAME\n\n"); printf("1. Calculate the number of connections and \n"); printf("the time (in years) until the next \"paradigm shift\",\n"); printf("using the current number of ideas.\n"); printf("2. Add the number of connections to the current number of ideas\n"); printf("to get the number of ideas to use in the next round.\n"); printf("It's as simple as that. I'll start you off with 2 ideas.\n");

while ( ContinueOrEsc != 27 ) { static int n = 2; n = PlayTheGame(n); } // wend

printf("\n\n\tWHAT DOES IT MEAN?\n\n"); printf("You have just experienced a preview of what has been written \n"); printf("about in your weekly Church bulletin since 2008.\n\n"); printf("\"'I have a time for everything, I have a time set for it all,' says the Lord.\"\n\n");

printf("\"'This is your time,' God says, 'Because I said so.' 'It seemed like\n");	printf("those promises had fallen by the wayside, but they are coming to\n");	printf("pass.' The Holy Ghost says that it will happen FAST, it will happen \n");	printf("much faster. That's why you have to make sure that you are seeking\n");	printf("Me with all you've got because I'm going to bring about the prom-\n");	printf("ises that I have spoken over this place years back. Make sure you \n");	printf("are in the right place, make sure you stay there because it is going to\n");	printf("happen fast. The harvest is coming fast. Even the answers to your\n");	printf("prayers and things you've believed for are coming fast this year.\n");	printf("But I have to warn you, says the Holy Spirit, that the blessings are\n");	printf("coming fast, a harvest is coming fast, what you have believed for\n");	printf("and prayed for is coming fast, but also those things that have not\n"); printf("been done in the right way will be dealt with fast, as well.\"\n\n");	Continue;	printf("\nThe 2nd Annual \"Holy Smoke Barbeque Fesitival\" [sic] was going on this past \n");	printf("week, I recently read to my wife a reprint of a magazine article\n");	printf("describing the Eggstravaganza, the Wild Goose Hunt, Jesus Jam, and the\n");	printf("\"Holy Smoke Barbeque Fesitival\" -- activities supported by the Easton\n");	printf("Church of God as relevant Christian ministries in the 21st century.\n");	printf("(Source: =\"21st-Century Srategies for Implementing the Great Commission\",\n");	printf("by Priscilla Hilliard, Winter 2011 _engage_)\n");	printf("We both chuckled when I read the footnote at the end of the article -- \n");	printf("\"1. Rich Marshall, _God_at_Work:_Discovering_the_Anointing_for_Business_\n"); printf("(Shippensburg, Penn.: Destiny Image Publishers, Inc., 2000), 46.)\"\n");	printf("My wife had worked for Don Nori as a telemarketer for several years, \n");	printf("and two of our children had collated books for Destiny Image.\n\n");	printf("My daily readings in _The_Daily_Bible_ (Harvest House Publishers) \n");	printf("for this past week, by some curious coincidence, seemed\n");	printf("especially relevant to the high level of on-going activity.\n\n");	printf("(Source: Iaaiah 59:21 - 64:12)\n\n");

printf("PROMISE OF THE SPIRIT. \n"); printf("\"As for Me, this is My covenant with them,\"\n"); printf("says the LORD. \"My Spirit, who is on you, and my words that I have put\n");	printf("in your mouth will not depart from your mouth, or from the mouths of\n");	printf("your children, or from the mouths of their descendants from this time on\n");	printf("and forever,\" says the LORD.\n\n"); Continue;

printf("\nJULY 20 -- THE GLORY OF ZION. \n"); printf("(Portions of this passage are suitable for singing.)\n"); printf("\"Arise, shine, for your light has come,\n");	printf("\tand the glory of the LORD rises upon you.\n");	printf("See, darkness covers the earth\n");	printf("\tand thick darkness is over the peoples,\n");	printf("But the LORD rises upon you\n");	printf("\tand His glory appears over you.\n");	printf("Nations will come to your light,\n");	printf("\tand kings to the brightness of your dawn.\n\n");

printf("\"Lift up your eyes and look around you:\n");	printf("\tAll assemble and come near to you;\n");	printf("your sons come from afar,\n");	printf("\tand your daughters are carried on the arm.\n");	printf("Then you will look and be radiant,\n");	printf("\tyour heart will throb and swell with joy;\n");	printf("the wealth on the seas will be brought to you,\n");	printf("\tto you the riches of the nations will come.\n");	printf("Herds of camels will cover your land,\n");	printf("\tyoung camels of Midian and Ephah.\n");	printf("And all from Sheba will come,\n");	printf("\tbearing gold and incense\n");	printf("\tand proclaiming the praise of the LORD.\n");	printf("All Kedar's flocks will be gathered to you,\n");	printf("\tthe rams of Nebaioth will serve you;\n");	printf("they will be accepted as offerings on My altar,\n");	printf("\tand I will adorn My glorious temple.\n\n");	Continue;

printf("\n\"Who are these that fly along like clouds,\n");	printf("\tlike doves to their nests?\n");	printf("Surely the islands look to Me;\n");	printf("\tin the lead are the trading ships\n");	printf("bringing your sons from afar,\n");	printf("\twith their silver and gold,\n");	printf("to the honor of the LORD your God,\n");	printf("\tthe Holy One of Israel,\n");	printf("\tfor He has endowed you with splendor.\n\n");

printf("\"Foreigners will rebuild your walls,\n");	printf("\tand their kings will serve you,\n");	printf("Though in anger I struck you,\n");	printf("\tin favor I will show you compassion.\n");	printf("Your gates will always stand open,\n");	printf("\tthey will never be shut, day or night,\n");	printf("so that men may bring you the wealth of the nations--\n");	printf("\ttheir kings led in triumphal procession.\n");	printf("For the nation or kingdom that will not serve you will perish;\n");	printf("\tit will be utterly ruined.\n\n");

printf("\"The glory of Lebanon will come to you,\n");	printf("\tthe pine, the fir and the cypress together;\n");	printf("to adorn the place of My sanctuary;\n");	printf("\tand I will glorify the place of My feet.\n");	printf("The sons of your oppressors will come bowing before you;\n");	printf("\tall who despise you will bow down at your feet\n");	printf("and will call you The City of the LORD,\n");	printf("\tZion of the Holy One of Israel.\n\n");	Continue;

printf("\n\"Although you have been forsaken and hated,\n");	printf("\twith no one traveling through,\n");	printf("I will make you the everlasting pride\n");	printf("\tand the joy of all generations.\n");	printf("You will drink the milk of nations\n");	printf("\tand be nursed at royal breasts.\n");	printf("Then you will know that I, the LORD, am your Savior,\n");	printf("\tyour Redeemer, the Mighty One of Jacob.\n");	printf("Instead of bronze I will bring you gold,\n");	printf("\tand silver in place of iron.\n");	printf("Instead of wood I will bring you bronze,\n");	printf("\tand iron in place of stones.\n");	printf("I will make peace your governor\n");	printf("\tand righteousness your ruler.\n");	printf("No longer will violence be heard in your land,\n");	printf("\tnor ruin or destruction within your borders,\n");	printf("but you will call your walls Salvation\n");	printf("\tand your gates Praise.\n"); printf("The sun will no more be your light by day,\n"); printf("\tnor will the brightness of the moon shine on you,\n"); printf("For the LORD will be your everlasting light,\n"); printf("\tand your God will be your glory.\n"); printf("your sun will never set again,\n"); printf("\tand your moon will wane no more;\n"); printf("the LORD will be your everlasting light,\n"); printf("\tand your days of sorrow will end.\n"); printf("Then will all your people be righteous\n"); printf("\tand they will possess the land forever.\n"); printf("They are the shoot I have planted,\n"); printf("\tthe work of My hands,\n"); printf("\tfor the display of My splendor.\n"); printf("The least of you will become a thousand,\n"); printf("\tthe smallest a mighty nation.\n"); printf("I am the LORD;\n"); printf("\tin its time I will do this swiftly.\"\n\n");	Continue;

printf("\nISAIAH'S MISSION TO COMFORT.\n"); printf("The Spirit of the Sovereign LORD is on me,\n"); printf("\tbecause the LORD has anointed me\n"); printf("\tto preach good news to the poor.\n"); printf("He has sent me to bind up the brokenhearted,\n"); printf("\tto proclaim freedom for the captives\n"); printf("\tand release from darkness for the prisoners,\n"); printf("to proclaim the year of the Lord's favor\n"); printf("\tand the day of vengeance of our God,\n"); printf("to comfort all who mourn,\n"); printf("\tand provide for those who grieve in Zion--\n"); printf("to bestow on them a crown of beauty\n"); printf("\tinstead of ashes,\n"); printf("the oil of gladness\n"); printf("\tinstead of mourning,\n"); printf("and a garment of praise\n"); printf("\tinstead of a spirit of despair.\n\n"); Continue;

printf("\nTHE MESSAGE OF HOPE.\n"); printf("They will be called oaks of righteousness,\n"); printf("\ta planting of the LORD\n"); printf("\tfor the display of His splendor.\n\n");

printf("They will rebuild the ancient ruins\n"); printf("\tand restore the places long devastated;\n"); printf("they will renew the ruined cities\n"); printf("\tthat have been devastated for generations,\n"); printf("Aliens will shepherd your flocks;\n"); printf("\tforeigners will work your fields and vineyards.\n"); printf("And you will be called priests of the LORD,\n"); printf("\tyou will be named ministers of our God.\n"); printf("You will feed on the wealth of nations,\n"); printf("\tand in their riches you will boast.\n\n");

printf("Instead of their shame\n"); printf("\tMy people will receive a double portion,\n"); printf("and instead of disgrace\n"); printf("\tthey will rejoice in their inheritance;\n"); printf("and so they will inherit a double portion in their land,\n"); printf("\tand everlasting joy will be theirs.\n\n");

printf("For I, the LORD, love justice;\n"); printf("\tI hate robbery and iniquity.\n"); printf("In My faithfulness I will reward them\n"); printf("\tand make an everlasting covenant with them.\n"); printf("Their descendants will be known among the nations\n"); printf("\tand their offspring among the peoples.\n"); printf("All who see them will acknowledge \n"); printf("\tthat they are a people the LORD has blessed.\n\n");

printf("\nPRAISE FOR SALVATION.\n"); printf("I delight greatly in the LORD;\n"); printf("\tmy soul rejoices in my God,\n"); printf("For He has clothed me with garments of salvation\n"); printf("\tand arrayed me in a robe of righteousness,\n"); printf("as a bridegroom adorns his head like a priest,\n"); printf("\tand as a bride adorns herself with her jewels,\n"); printf("For as the soil makes the sprout come up\n"); printf("\tand a garden causes seeds to grow,\n"); printf("so the Sovereign LORD will make righteousness and praise\n"); printf("\tspring up before all nations.\n\n"); Continue;

printf("\nTHE BRIDE'S NEW NAME.\n"); printf("For Zion's sake I will not keep silent,\n"); printf("\tfor Jerusalem's sake I will not remain quiet,\n"); printf("till her righteousness shines out like the dawn,\n"); printf("\ther salvation like a blazing torch.\n"); printf("The nations will see your righteousness,\n"); printf("\tand all kings your glory;\n"); printf("you will be called by a new name\n"); printf("\tthat the mouth of the LORD will bestow.\n"); printf("You will be a crown of splendor in the LORD's hand,\n"); printf("\ta royal diadem in the hand of your God.\n"); printf("No longer will they call you Deserted,\n"); printf("\tor name your land Desolate.\n"); printf("But you will be called Hephzibah,\n"); printf("\tand your land Beulah;\n"); printf("for the LORD will take delight in you,\n"); printf("\tand your land will be married.\n"); printf("As a young man married a maiden,\n"); printf("\tso will your sons marry you;\n"); printf("as a bridegroom rejoices over his bride,\n"); printf("\tso will your God rejoice over you.\n\n"); Continue;

printf("\nTHE HOLY AND REDEEMED\n"); printf("I have posted watchmen on your walls, O Jerusalem;\n"); printf("\tthey will never be silent day or night,\n"); printf("You who call on the LORD,\n"); printf("\tgive yourselves no rest,\n"); printf("and give Him no rest till He establishes Jerusalem\n"); printf("\tand makes her the praise of the earth.\n\n"); printf("The LORD has sworn by His right hand\n"); printf("\tand by His mighty arm:\n"); printf("\"Never again will I give your grain\n");	printf("\tas food for your enemies,\n");	printf("and never again will foreigners drink the new wine\n");	printf("\tfor which you have toiled;\n");	printf("but those who harvest it will eat it\n");	printf("\tand praise the LORD,\n");	printf("and those who gather the grapes will drink it\n");	printf("\tin the courts of my sanctuary.\"\n\n");

printf("Pass through, pass through the gates!\n"); printf("\tPrepare the way for the people.\n"); printf("Build up, build up the highway!\n"); printf("\tRemove the stones.\n"); printf("Raise a banner for the nations.\n\n");

printf("The LORD has made proclamation\n"); printf("\tto the ends of the earth;\n"); printf("\"Say to the Daughter of Zion,\n");	printf("\t'See, your Savior comes!\n");	printf("See, His reward is with Him,\n");	printf("\tand His recompense accompanies Him.'\"\n"); printf("They will be called the Holy People,\n"); printf("\tthe Redeemed of the LORD;\n"); printf("and you will be called Sought After,\n"); printf("\tthe City No Longer Deserted.\n\n"); Continue;

printf("\nVENGEANCE AGAINST WICKED.\n"); printf("Who is this coming from Edom,\n"); printf("\tfrom Bozrah, with His garments stained crimson?\n"); printf("Who is this, robed in splendor,\n"); printf("\tstriding forward in the greatness of His strength?\n\n");

printf("\"It is I, speaking in righteousness,\n");	printf("\tmighty to save.\"\n\n");

printf("Why are your garments red,\n"); printf("\tlike those of One treading the winepress?\n\n");

printf("\"I have trodden the winepress alone;\n");	printf("\tfrom the nations no one was with Me.\n");	printf("I trampled them in My anger\n");	printf("\tand trod them down in My wrath;\n");	printf("their blood spattered My garments,\n");	printf("\tand I stained all My clothing.\n");	printf("For the day of vengeance was in My heart,\n");	printf("\tand the year of My redemption has come.\n");	printf("\"I looked, but there was no one to help,\n"); printf("\tI was appalled that no one gave support;\n"); printf("So My own arm worked salvation for Me,\n"); printf("\tand My own wrath sustained Me.\n"); printf("I trampled the nations in My anger;\n"); printf("\tin My wrath I made them drunk\n"); printf("\tand poured their blood on the ground.\"\n\n");	Continue;

printf("\nKINDNESS TO RIGHTEOUS.\n"); printf("I will tell of the kindnesses of the LORD,\n"); printf("\tthe deeds for which He is to be praised,\n"); printf("\taccording to all the LORD has done for us -- \n"); printf("yes, the many good things He has done\n"); printf("\tfor the house of Israel,\n"); printf("\taccording to His compassion and many kindnesses.\n"); printf("He said, \"Surely they are my people,\n");	printf("\tsons who will not be false to Me\";\n"); printf("\tand so He became their Savior.\n"); printf("In all their distress He too was distressed,\n"); printf("\tand the angel of His presence saved them.\n"); printf("In His love and mercy He redeemed them,\n"); printf("\tHe lifted them up and carried them\n"); printf("\tall the days of old.\n\n");

printf("\nWRATH AGAINST REBELLIOUS.\n"); printf("Yet they rebelled\n"); printf("\tand grieved His Holy Spirit.\n"); printf("So He turned and became their enemy\n"); printf("\tand He Himself fought against them.\n\n"); Continue;

printf("\nGOD'S PROTECTION REMEMBERED.\n"); printf("Then His people recalled the days of old,\n"); printf("\tthe days of Moses and his people --\n"); printf("where is He who brought them through the sea,\n"); printf("\twith the shepherd of His flock?\n"); printf("Where is He who set\n"); printf("\tHis Holy Spirit among them,\n"); printf("who sent His glorious arm of power\n"); printf("\tto be at Moses' right hand,\n"); printf("Who divided the waters before them,\n"); printf("\tto gain for Himself everlasting renown,\n"); printf("Who led them through the depths?\n"); printf("Like a horse in open country,\n"); printf("\tthey did not stumble;\n"); printf("like cattle that go down to the plain,\n"); printf("\tthey were given rest by the Spirit of the LORD,\n"); printf("This is how You guided Your people\n"); printf("\tto make for Yourself a glorious name!\n\n"); Continue;

printf("\nISRAEL'S PRAYER TO GOD.\n"); printf("Look down from heaven and see\n"); printf("\tfrom Your lofty throne, holy and glorious,\n"); printf("Where are Your zeal and Your might?\n"); printf("\tYour tenderness and compassion are withheld from us.\n"); printf("But You are our Father,\n"); printf("\tthough Abraham does not know us\n"); printf("\tor Israel acknowledge us;\n"); printf("You, O LORD, are our Father,\n"); printf("\tour Redeemer from of old is Your name.\n"); printf("Why, O LORD, do You make us wander from Your ways\n"); printf("\tand harden our hearts that we do not revere You?\n"); printf("Return for the sake of Your servants,\n"); printf("\tthe tribes that are Your inheritance,\n"); printf("For a little while Your people possessed Your holy place,\n"); printf("\tbut now our enemies have trampled down Your sanctuary.\n"); printf("We are Yours from of old;\n"); printf("\tbut You have not ruled over them,\n"); printf("\tthey have not been called by Your name.\n\n"); Continue;

printf("\nOh, that You would rend the heavens and come down,\n"); printf("\tthat the mountains would tremble before You!\n"); printf("As when fire sets the twigs ablaze\n"); printf("\tand causes water to boil,\n"); printf("come down to make Your name known to Your enemies\n"); printf("\tand cause the nations to quake before You!\n"); printf("For when You did awesome things that we did not expect,\n"); printf("\tYou came down, and the mountains trembled before You.\n"); printf("Since ancient times no one has heard,\n"); printf("\tno ear has perceived,\n"); printf("no eye has seen any God besides You,\n"); printf("\tWho acts on behalf of those who wait for Him.\n"); printf("You come to the help of those who gladly do right,\n"); printf("\twho gremember Your ways,\n"); printf("But when we continued to sin against them,\n"); printf("\tYou were angry.\n"); printf("\tHow then can we be saved?\n"); printf("All of us have become like one who is unclean,\n"); printf("\tand all our righteous acts are like filthy rags,\n"); printf("we all shrivel up like a leaf,\n"); printf("\tand like the wind our sins sweep us away.\n"); printf("No one calls on Your name\n"); printf("\tor strives to lay hold of You;\n"); printf("for You have hidden Your face from us\n"); printf("\tand made us waste away because of our sins.\n\n");

printf("Yet, O LORD, You are our Father.\n"); printf("\tWe are the clay, You are the potter,\n"); printf("\twe are all the work of Your hand.\n"); printf("Do not be angry beyond measure, O LORD;\n"); printf("\tdo not remember our sins forever.\n"); printf("Oh, look upon us, we pray,\n"); printf("\tfor we are all Your people.\n"); printf("Your sacred cities have become a desert;\n"); printf("\teven Zion is a desert, Jerusalem a desolation,\n"); printf("Our holy and glorious temple, where our fathers praised You,\n"); printf("\thas been burned with fire,\n"); printf("\tand all that we treasured lies in ruins.\n"); printf("After all this, will You hold Yourself back?\n"); printf("\tWill You keep silent and punish us beyond measure?\n"); Continue; printf("\nJULY 21 -- GOD EXPLAINS JUDGMENT.\n"); printf("I revealed Myself to those who did not ask for Me,\n"); printf("\tI was found by those who did not seek Me.\n"); printf("To a nation that did not call on My name,\n"); printf("\tI said, 'Here am I, here am I.'\n"); printf("All day long I have held out My hands\n"); printf("\tto an obstinate people,\n"); printf("Who walk in ways not good,\n"); printf("\tpursuing their own imaginations --\n"); printf("a people who continually provoke Me\n"); printf("\tto My very face,\n"); printf("offering sacrifices in gardens\n"); printf("\tand burning incense on altars of brick;\n"); printf("who sit among the graves\n"); printf("\tand spend their nights keeping secret vigil;\n"); printf("who eat the flesh of pigs,\n"); printf("\tand whose pots hold broth of unclean meat;\n"); printf("who say, 'Keep away, don't come near me,\n"); printf("\tfor I am too sacred for you!'\n"); printf("Such people are smoke in My nostrils,\n"); printf("\ta fire that keeps burning all day.\n\n");

printf("\"See, it stands written before Me:\n");	printf("\tI will not keep silent but will pay back in full;\n");	printf("\tI will pay it back into their laps --\n");	printf("both your sins and the sins of your fathers,\"\n"); printf("\tsays the LORD.\n"); printf("\"Because they burned sacrifices on the mountains\n");	printf("\tand defied Me on the hills,\n");	printf("I will measure into their laps\n");	printf("\tthe full payment for their former deeds.\"\n\n"); Continue;

printf("\nSALVATION OF REMNANT.\n"); printf("This is what the LORD says:\n"); printf("\"As when juice is still found in a cluster of grapes\n");	printf("\tand men say, 'Don't destroy it,\n");	printf("\tthere is yet some good in it,'\n");	printf("so will I do on behalf of My servants;\n");	printf("\tI will not destroy them all.\n");	printf("I will bring forth descendants from Jacob,\n");	printf("\tand from Judah those who will inherit My mountains;\n");	printf("My chosen people will inherit them,\n");	printf("\tand there will My servants live.\n");	printf("Sharon will become a pasture for flocks,\n");	printf("\tand the Valley of Achor a resting place for herds,\n");	printf("\tfor My people who seek Me.\n\n");	Continue;	printf("\nNO MERCY FOR UNREPENTANT.\n");	printf("\"But as for you who forsake the LORD\n"); printf("\tand forget My holy mountain,\n"); printf("Who spread a table for Fortune\n"); printf("\tand fill bowls of mixed wine for Destiny,\n"); printf("I will destine you for the sword,\n"); printf("\tand you will all bend down for the slaughter;\n"); printf("for I called but you did not answer,\n"); printf("\tI spoke but you did not listen.\n"); printf("You did evil in My sight\n"); printf("\tand chose what displeases Me.\"\n\n");	Continue;

printf("\nBLESSINGS FOR SERVANTS.\n"); printf("Therefore this is what the Soverign LORD says:\n"); printf("\"My servants will eat,\n");	printf("\tbut you will go hungry;\n");	printf("My servants will drink,\n");	printf("\tbut you will go thirsty;\n");	printf("My servants will rejoice,\n");	printf("\tbut you will be put to shame.\n");	printf("Ny servants will sing \n");	printf("\tout of the joy of their hearts,\n");	printf("but you will cry out\n");	printf("\tfrom anguish of heart\n");	printf("\tand wail in brokenness of spirit.\n");	printf("You will leave your name\n");	printf("\tto My chosen ones as a curse;\n");	printf("the Soverign LORD will put you to death,\n");	printf("\tbut to His servants He will give another name.\n");	printf("Whoever invokes a blessing in the land\n");	printf("\twill do so by the God of truth;\n");	printf("he who takes an oath in the land\n");	printf("\twill swear by the God of truth.\n");	printf("For the past troubles will be forgottrn\n");	printf("\tand hidden from My eyes.\n\n"); Continue;

printf("\nNEW HEAVEN AND EARTH.\n"); printf("\"Behold, I will create\n");	printf("\tnew heavens and a new earth.\n");	printf("The former things will not be remembered,\n");	printf("\tnor will they come to mind.\n");	printf("But be glad and rejoice forever\n");	printf("\tin what I will create,\n");	printf("for I will create Jerusalem to be a delight\n");	printf("\tand its people a joy.\n");	printf("I will rejoice over Jerusalem\n");	printf("\tand take delight in My people;\n");	printf("the sound of weeping and of crying\n");	printf("\twill be heard in it no more.\n\n");

printf("\"Never again will there be in it\n");	printf("\tan infant who lives but a few days,\n");	printf("\tor an old man who does not live out his years;\n");	printf("he who dies at a hundred\n");	printf("\twill be thought a mere youth;\n");	printf("he who fails to reach a hundred\n");	printf("\twill be considered accursed.\n");	printf("They will build houses and dwell in them;\n");	printf("\tthey will plant vineyards and eat their fruit.\n");	printf("No longer will they build houses and others live in them,\n");	printf("\tor plant and others eat.\n");	printf("For as the days of a tree,\n");	printf("\tso will be the days of My people;\n");	printf("My chosen ones will long enjoy\n");	printf("\tthe works of their hands.\n");	printf("They will not toil in vain\n");	printf("\tor bear children doomed to misfortune;\n");	printf("for they will be a people blessed by the LORD,\n");	printf("\tthey and their descendants with them.\n"); printf("Before they call I will answer;\n"); printf("\twhile they are still speaking I will hear.\n"); printf("The wolf and the lamb will feed together,\n"); printf("\tand the lion will eat straw like an ox,\n"); printf("\tbut dust will be the serpent's food.\n"); printf("They will neither harm nor destroy\n"); printf("\tin all My holy mountain,\"\n");	printf("\t\tsays the LORD.\n\n");	Continue;

printf("\nGOD'S MAJESTY AND POWER.\n"); printf("This is what the LORD says:\n"); printf("\"Heaven is My throne,\n");	printf("\tand the earth is My footstool.\n");	printf("Where is the house you will build for Me?\n");	printf("\tWhere will My resting place be?\n");	printf("Has not My hand made all these things,\n");	printf("\tand so they came into being?\"\n"); printf("\t\tdeclares the LORD.\n\n");

printf("\"This is the one I esteem:\n");	printf("\the who is humble and contrite in spirit,\n");	printf("\tand trembles at My word.\n\n");	Continue;

printf("\nGOD'S ENEMIES WILL FALL.\n"); printf("(compare these verses with I Samuel 15:22-23)\n"); printf("But whoever sacrifices a bull\n"); printf("\tis like one who kills a man,\n"); printf("and whoever offers a lamb,\n"); printf("\tlike one who breaks a dog's neck;\n"); printf("whoever makes a grain offering\n"); printf("\tis like one who presents pig's blood,\n"); printf("and whoever burns memorial incense,\n"); printf("\tlike one who worships an idol.\n"); printf("They have chosen their own ways,\n"); printf("\tand their souls delight in their abominations;\n"); printf("so I also will choose harsh treatment for them\n"); printf("\tand will bring upon them what they dread.\n"); printf("For when I called, no one answered,\n"); printf("\twhen I spoke, no one listened.\n"); printf("They did evil in My sight\n"); printf("\tand chose what displeases Me.\n\n");

printf("Hear the word of the LORD,\n"); printf("\tyou who tremble at His word:\n"); printf("\"Your brothers who hate you,\n");	printf("\tand exclude you because of My name, have said,\n");	printf("'Let the LORD be glorified,\n");	printf("\tthat we may see your joy!'\n");	printf("\tYet they will be put to shame.\n");	printf("Hear that uproar from the city,\n");	printf("\thear that noise from the temple!\n");	printf("It is the sound of the LORD\n");	printf("\trepaying His enemies all they deserve.\n\n");	Continue;

printf("\nBELIEVERS WILL BE REWARDED.\n"); printf("Before she goes into labor,\n"); printf("\tshe gives birth;\n"); printf("before the pains come upon her,\n"); printf("\tshe delivers a son.\n"); printf("Who has ever heard of such a thing?\n"); printf("\tWho has ever seen such things?\n"); printf("Can a country be born in a day\n"); printf("\tor a nation be brought forth in a moment?\n"); printf("Yet no sooner is Zion in labor\n"); printf("\tthan she gives birth to her children.\n"); printf("Do I bring to the moment of birth\n"); printf("\tand not give delivery?\" says the LORD.\n");	printf("\"Do I close up the womb\n"); printf("\twhen I bring to delivery?\" says your God.\n");	printf("\"Rejoice with Jerusalem and be glad for her.\n"); printf("\tall you who love her;\n"); printf("rejoice greatly with her,\n"); printf("\tall you who mourn over her.\n"); printf("For you will nurse and be satisfied\n"); printf("\tat her comforting breasts;\n"); printf("you will drink deeply\n"); printf("\tand delight in her overflowing abundance.\"\n\n");

printf("For this is what the LORD says:\n"); printf("I will extend peace to her like a river,\n"); printf("\tand the wealth of nations like a flooding stream;\n"); printf("you will nurse and be carried on her arm\n"); printf("\tand dandled on her knees.\n"); printf("As s mother comforts her child,\n"); printf("\tso will I comfort you;\n"); printf("\tand you will be comforted over Jerusalem.\"\n\n");

printf("When you see this, your heart will rejoice\n"); printf("\tand you will flourish like grass;\n"); printf("the hand of the LORD will be made known to His servants,\n"); printf("\tbut His fury will be shown to His foes.\n\n"); Continue;

printf("\nDESTRUCTION OF WICKED.\n"); printf("See, the LORD is coming with fire,\n"); printf("\tand his chariots are like a whirlwind;\n"); printf("He will bring down His anger with fury,\n"); printf("\tand His rebuke with flames of fire.\n"); printf("For with fire and with His sword\n"); printf("\tthe LORD will execute judgment upon all men,\n"); printf("\tand many will be those slain by the LORD.\n\n");

printf("\t\"Those who consecrate and purify themselves to go into the gardens,\n");	printf("following tho one in the midst of those who eat the flesh of pigs and rats\n");	printf("and other abominable things -- they will meet their end together,\" declares\n"); printf("the LORD.\n\n"); Continue;

printf("\nSURVIVORS TO BE EVANGELISTS.\n"); printf("\"And I, because of their actions and\n");	printf("their imaginations, am about to come and gather all nations and tongues,\n");	printf("and they will come and see my glory.\n\n");

printf("\t\"I will set a sign among them, and I will send some of those who \n");	printf("survive to the nations -- to Tarshish, to the Libyans and Lydians (famous as\n");	printf("archers), to Tubal and Greece, and to the distant islands which have not\n");	printf("heard of My fame or seen My glory. They will proclaim My glory among\n");	printf("the nations. And they will bring all your brothers, from all the nations, to\n");	printf("My holy mountain in Jerusalem as an offering to the LORD -- on horses, in\n");	printf("chariots and wagons, and on mules and camels,\" says the LORD. \"They\n");	printf("will bring them, as the Israelites bring their grain offerings, to the temple\n");	printf("of the LORD in ceremonially clean vessels. And I will select some of them\n");	printf("also to be priests and Levites,\" says the LORD.\n\n");

printf("\nETERNAL LIFE AND DEATH.\n"); printf("\t\"As the new heavens and the new earth\n");	printf("that I make will endure before Me,\" declares the LORD, \"so will your name\n");	printf("and descendants endure. From one New Moon to another and from one\n");	printf("Sabbath to another, all mankind will come and bow down before Me,\"\n"); printf("says the LORD. \"And they will go out and look upon the dead bodies of\n");	printf("those who rebelled against Me; their worm will not die, nor will their fire\n");	printf("be quenched, and they will be loathsome to all mankind.\"\n\n"); Continue;

printf("\nFYI: The Singularity and the Second Coming of Christ are two distinctly \n"); printf("different events; one human, the other, divine. I cannot predict the exact \n"); printf("timetable for either event.\n\n");

printf("\nI hear in the previous passage a call to flourish in our stewardship,\n"); printf("whatever happens, but, above all, \"Occupy until I come!\".\n\n");

printf("Have I not commanded thee, be strong, of good courage.\n"); printf("Be not afraid, nor be thou dismayed,\n"); printf("For the LORD thy God is with thee, whithersoever thou goest.\n");

printf("\nI have seen one of the signs of the times, and it said,\n"); printf("\"Eglesia de Dios Torre Fuerte\n");	printf("'Yo soy el camino, la verdad y la vida; Nadie viene al padre\n");	printf("si no as por mi.\" -- San Juan 14 - 6\n\n"); Continue; return 0; } // End main.

int Connections(int nOldIdeas) { return nOldIdeas * (nOldIdeas - 1) / 2; } // End Connections.

void Continue(void) { int nChar;

printf("Press the \"Enter\" key to continue."); nChar = _getche; printf("\n"); } // End Continue.

int ContinueOrEsc(void) { int nChar;

printf("Press the \"Enter\" key (or \"Esc\") to continue."); nChar = _getche; printf("\n"); return nChar; } // End ContinueOrEsc.

int PlayTheGame(int nOldIdeas) { static int nRound = 1; int nConnections = Connections(nOldIdeas); double dTimeToPS = (double) 2000.0 / (double) nOldIdeas;

printf("\nRound	Number		Number of		Time until	\n"); printf("Number	of Ideas	Connections		Next P.S.	\n"); printf("%d	%d		%d			%f years\n", 			nRound, nOldIdeas, nConnections, dTimeToPS); switch ( nRound ) { case 1: printf("(The \"stone age\")\n"); break; case 2: printf("(The \"iron age\")\n"); break; case 3: printf("(The \"Industrial Revolution\"! Calculus was invented!)\n"); break; case 4: printf("Many major technologies of the 20th century went \nOBSOLETE within 50 years!\n"); break; case 5: printf("New version of Microsoft windows operating system every few years!\n"); break; case 6: printf("One of the numbers got too big for its alloted space!\n"); printf("0.074638 years = 27.24287 days\n"); break; case 7: printf("Another number got too big for its alloted space!\n"); printf("0.000006 years = 3.1536 MINUTES!\n"); break; case 8: printf("0.000003 years = 94 SECONDS!\n"); break; case 9: printf("0.000001 years = 31.536 SECONDS!\n"); printf("There was more intellectual invention in those few seconds\n"); printf("than in ALL OF HISTORY before you were born!\n"); printf("(P. s. Computer overflow!\n");		printf("Did you notice we're about 1000000000 connections short here!)\n"); break; case 10: printf("Computer overflow (again!)! This answer is SHEER NONSENSE!\n"); break; default: break; } // end switch. nRound++; return nConnections + nOldIdeas; } // End PlayTheGame(int nOldIdeas);

// ENd of the "Kurzweil.cpp" file. 

=End= Newsletter Source Code