Quote:
The shift from Basic to C as the recommended first step to new programmers...
|
I agree. Age of Kings/Conquerors had a very strong AI scripting community which used a very simple & easy to understand language. Age of Mythology (the sequel) had a very powerful AI scripting language that was so arcane (and C-like) that very few people even attempted to write custom scripts.
"Hello World"
Basic:
Code:
PRINT "Hello World!"
C++:
Code:
#include <iostream.h>
main()
{
cout << "Hello World!" << endl;
return 0;
}
(and just for fun)
Java:
Code:
class HelloWorld {
static public void main( String args[] ) {
System.out.println( "Hello World!" );
}
}