Safe C++

  • Format
  • Bog, paperback
  • Engelsk
  • 130 sider

Beskrivelse

The C++ programming language allows programmer to make all kinds of mistakes such as access memory beyond the bounds of an allocated array, or read memory which was never initialized, or allocate memory and forget to de-allocate it, e.g. there are great many ways to "shoot yourself in a foot" while programming in C++, and the C++ language will not catch you by the hand and instead will proceed happily until it will either crash or produce an unreasonable result or do something which is in computer literature called by a vague but scary term "an unpredictable behavior". So, in this sense, the C++ is unsafe. This book contains discussion of some of the most typical mistakes made by us, programmers, in C++ code and also some recipes how to avoid each of these mistakes. The undeniable truth is that any program significantly more complex than "Hello, World" would contain some number of errors, also affectionately called "bugs", which are put in there by the Programmer. The Great Question of Programming is how do we make the number of these bugs smaller (that is, without slowing the process of programming to a halt)?

Læs hele beskrivelsen
Detaljer
  • SprogEngelsk
  • Sidetal130
  • Udgivelsesdato10-07-2012
  • ISBN139781449320935
  • Forlag O'Reilly Media
  • FormatPaperback

Findes i disse kategorier...

Se andre, der handler om...

Velkommen til Saxo – din danske boghandel

Hos os kan du handle som gæst, Saxo-bruger eller Saxo-medlem – du bestemmer selv. Skulle du få brug for hjælp, sidder vores kundeservice-team klar ved både telefonerne og tasterne.

Om medlemspriser hos Saxo

For at købe bøger til medlemspris skal du være medlem af Saxo Premium, Saxo Shopping eller Saxo Ung. De første 7 dage er gratis for nye medlemmer. Medlemskabet fornyes automatisk og kan altid opsiges. Læs mere om fordelene ved vores forskellige medlemskaber her.

Machine Name: SAXO082