A time honored tradition in computer science is to write a program
+ A time honored tradition in computer science is to write a program
called A question you may have about this little program is hello world.
The hello world
program is simple and easy.
No logic errors are possible to make, so getting it to run relies only on
understanding the syntax. Let's look at an easy version of hello world
@@ -57,7 +58,8 @@ int main(){
are some elements of C++ that will fade into the background as you
become used to seeing them. One thing that will help you is to learn a
little bit more about C++.How would I run it on
my own machine?
Running a C++ program is not as simple as running a
@@ -311,5 +313,4 @@ int main() {
Python is a great language for beginning programming for several reasons.
+ Python is a great language for beginning programming for several reasons.
First, the syntax is both sparse and clear. Second, the underlying model of
how objects and variables work is very consistent. Third, you can write
powerful and interesting programs without a lot of work. However, Python
@@ -31,7 +32,8 @@
conditionals, and functions. And there are other language features that are unique. If
you know what is common in most languages, then in learning a new language, you need only
to focus on what is different from the languages you already know.
@@ -71,5 +73,4 @@