Re: [Dev-C++] Deliberate crashes - more information
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Bob W. <bo...@ph...> - 2002-04-09 14:03:35
|
MessageIoannis,
There are techniques which C++ inherently supports such as "resource =
aquisition is initialization" that you can not apply if you do not know =
how to define classes and work with objects. C++ is a very serious =
thing, be patient and you will learn everything (i am still learning it =
myself since summer 2000!). "Teach Yourself C++ in 24 Hours" (even 21 =
Days) could not cover the whole C++, imagine now the techniques that it =
was designed to support. The book is excellent to make you reach close =
to the intermediate level of C++ programming.
I am not impatient, but it makes absolutely no sense to not teach four =
things when you teach a computer language. In order of importance they =
are:
1.. The syntax or grammar of the language. It is impossible to do =
any serious programming if you do not know the language. (I think this =
is what you are saying, and I agree strongly with it.)
2.. Good language specific programming practices like initializing =
all pointers as soon as they are created, deleting them as soon as you =
are finished with them, and setting them to null or zero as soon as you =
have deleted them. This is damn near as important as learning the =
syntax.
3.. Elucidation of how to solve or avoid common language related =
programming problems.
4.. How to make your language specific code bullet proof.=20
Number two, three, and four above should be focused on whatever language =
feature or syntactical device is under discussion. If avoiding language =
specific programming errors is different from one operating system to =
another, or there is a language specific problem in one operating system =
and not the others, that should be mentioned along with a link or =
reference to where to find more detailed information should the =
reader/student so desire.=20
Number three and four above should be strictly language specific and =
should be supported with one or more examples. (By specifically language =
specific I mean without regard to MFC, the win32 API or any operating =
system.) Such efforts should not be forced or artificial.=20
I did not list it because it should be obvious, but enough instruction =
must be given about the programming environment to avoid environment =
related interruptions in or distractions to the learning process. Some =
teachers, books, etc., are better than others in that regard.=20
Regards,
Bob
|