![]() |
Links to all computer programs presented in the booksThe table below contains all programs that are presented in the programming books by Kari Laitinen.In addition there are links to extra programs that are available, but not presented in the books. To view these programs with an Internet browser, it is best to install the Mozilla Firefox browser which shows the programs in a browser window. (Another page lists programs that provide a Graphical User Interface.) © 2006-2007 Kari Laitinen |
To www.naturalprogramming.com main page
Examples of programs that
provide a Graphical User Interface.
a) The C++ programs listed on this page are written so that the #include command
#include <iostream.h>
is in use. Because using include commands such as this one is a somewhat
"old-fashioned" way to write C++ programs, some C++ compilers may print warning
messages when you compile these programs. The free Borland C++ compiler does
not produce these warnings, but, for example, the C++ compiler in Macintosh does.
Despite of these warnings, these programs should work well. If you want to get
rid of these warnings, you should replace the above #include command with the
program lines
#include <iostream>
using namespace std ;
As you can see, you need to add a new program line in order to modernize these programs.
The reason why I have used the "old-fashioned" #include commands in these programs is that
this way the programs could be made somewhat shorter. I also thought that the "using"
statements might confuse beginners who are learning the basics of computer programming.
More information about the "using" statements and namespaces can be found on page 267 of the C++ book.
I have not, yet, modernized these programs because if these programs are changed, the
entire C++ book needs to be modified and updated, which is a somewhat complicated task.
The "old-fashioned" #include commands
should not prevent you from efficiently learning the basics of programming, but, I admit,
they may annoy you when you become more experienced in C++ programming.
2006-06-01 This page was created.
2007-08-24 Last modification (Use Notepad2!!)