BhaktaBionic Posted January 26, 2002 Report Share Posted January 26, 2002 /* Introductory Message To People Of Planet Earth */ #include <iostream.h> int main(void) { cout << "People of Planet Earth" << endl; cout << "I come to you from the future" << endl; if X>1 then cout<<”I have come to study your primitive ways”<<endl; else cout << "Live Long And Prosper" << endl; return(0); } Quote Link to comment Share on other sites More sharing options...
valaya Posted January 26, 2002 Report Share Posted January 26, 2002 So, like, are we having fun yet? Could someone please pass the Haldol? !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Profile for BhaktaBionic Search: All posts by this registered user. Date Registered: 01-26-2002 Status: Junior Member Total Posts: 2 Current Email: Not available. Homepage: http:// Occupation: Conqueror Location: Planet XS!@SER Interests: Conquering ICQ Number: [This message has been edited by valaya (edited 01-26-2002).] Quote Link to comment Share on other sites More sharing options...
Bhakta Don Muntean Posted January 26, 2002 Report Share Posted January 26, 2002 Bhakta bionic: >>>>"Live Long And Prosper" Reply: I wonder where we heard that before........ Quote Link to comment Share on other sites More sharing options...
Avinash Posted January 26, 2002 Report Share Posted January 26, 2002 Dear BhaktaBionic, There are syntax errors in your C++ program. 1. No filename is provided after #include. As I can see, the required filename here is < iostream.h > (Note, I have eddited the message to introduce white space character after < and before >. In reality, these white space characters should not be there. But, in this forum, it is required as otherwise < and > are treated as beginning and end of html tags). 2. The variable X is undeclared. 3. In C++, there is no keyword "then". Are you mixing Basic here? 4. There is < before else. That is wrong. Instead of <, you should use ; (semicolon). [This message has been edited by Avinash (edited 01-26-2002).] Quote Link to comment Share on other sites More sharing options...
BhaktaBionic Posted January 31, 2002 Author Report Share Posted January 31, 2002 /*Response*/ using System; class Quote { static void Main() { Console.WriteLine("Quote: There are syntax errors in your C++ program."); } } routines printIt is == prints Response do print put @10 ‘We do not use your primitive language C++’ put @12 ‘Our language, if translated in Earthling would be: (Z++)^5’ put @16 ‘Nor is X an undeclared variable’ put @24 ‘X is an undeclared language subroutine, permitting communication with primitives’ put @40 ‘Your statement about the use of the ; (semicolon) is correct’ put @72 ‘The council has placed this single error as a test to discover the wisest of the primitives’ put @88 ‘Based on this test it appears that you are the wisest of the primitives’ put @96 ‘You shall be our ambassador to the primitives of this planet’ put @100 ‘Should you refuse, you shall be placed in a 4 ft diameter glass tube’ put @102 ‘and put on display in our intergalactic zoo’ put @104 ‘Choose wisely’ end printIt end class Quote Link to comment Share on other sites More sharing options...
Avinash Posted January 31, 2002 Report Share Posted January 31, 2002 I am quite fluent with many programming languages. But I am not aware of the language that you are using. Where can I get the compiler for this language? Quote Link to comment Share on other sites More sharing options...
BhaktaBionic Posted January 31, 2002 Author Report Share Posted January 31, 2002 // 'Response' program GET "LIBHDR" LET START () BE $( WRITES ("Do not wish for what you can not have!*N") WRITES ("Earth shall discover this most perfect language!*N") WRITES ("in 2 ¾ light years. Your people are not ready!*N") WRITES ("for such technology!*N") $) Quote Link to comment Share on other sites More sharing options...
Avinash Posted January 31, 2002 Report Share Posted January 31, 2002 in 2 ¾ light years First you wrote a program that will generate syntax errors by all the compilers. Now you are making another mistake. You write as if "light year" is a unit of time. Though, in reality, it is a unit of distance. Quote Link to comment Share on other sites More sharing options...
BhaktaBionic Posted January 31, 2002 Author Report Share Posted January 31, 2002 /*Response*/ using System; class Quote { static void Main() { Console.WriteLine("Quote: You write as if "light year" is a unit of time. "); } } routines printIt is == prints Response do print put @10 ‘Another test, and you have passed’ put @12 ‘Truly you are the wisest of your people' put @24 ‘Thus ends the testing procedure' put @40 ‘Unless I need to use it again to’ put @72 ‘cover up any future "errors" ' end printIt end class Quote Link to comment Share on other sites More sharing options...
Tarun Posted January 31, 2002 Report Share Posted January 31, 2002 BB = BhaktaBionic is distancing himself from what? That 2.75 light year time reference. Introductory Massage for Planet Earth's People? Where do I go? (HAIR hit song) My neck's a bit stiff; I could certainly use one. How much after the first? Devotee discounts? KaniSThas pay more? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You are posting as a guest. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.