Jump to content
IndiaDivine.org
Sign in to follow this  
BhaktaBionic

Introductory Message To People Of Planet Earth

Rate this topic

Recommended Posts

/*

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);

}

Share this post


Link to post
Share on other sites

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).]

Share this post


Link to post
Share on other sites

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).

 

Posted Image

 

 

 

[This message has been edited by Avinash (edited 01-26-2002).]

Share this post


Link to post
Share on other sites

/*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

Share this post


Link to post
Share on other sites

// '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")

$)

 

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

/*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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...