Skip to main content
Erschienen in:
Buchtitelbild

2012 | OriginalPaper | Buchkapitel

1. Getting Started

verfasst von : Dr. Joe Pitt-Francis, Dr. Jonathan Whiteley

Erschienen in: Guide to Scientific Computing in C++

Verlag: Springer London

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

Abstract

This introductory chapter discusses some of the features of C++ in terms of object-orientation and other “buzzwords”, such as polymorphism and inheritance, that are used to describe the language, and also in terms of its strengths and weaknesses. Methods for editing, compiling and running a simple C++ program are introduced, followed by basic information on declaring and using variables and arrays, and on input and output. Sadly, a large amount of the time that a programmer claims to be “programming” may actually be more accurately described as “debugging”: the chapter concludes with tips about simple ways that a novice C++ programmer might go about debugging a program, thus minimising the time spent on the excruciatingly frustrating process of hunting for errors in a code.

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Fußnoten
1
Matlab is a registered trademark of The MathWorks, Inc.
 
2
The original version of Matlab was written in Fortran and was intended as a simple interface into parts of the EISPACK and LINPACK Fortran libraries.
 
3
If you are working on a Mac operating system, we recommend that you install the Xcode developer tool-set. This comes complete with a GNU C++ compiler which you can use on the command line or within the developer environment. If you are working on a Windows operating system, we recommend that you install MinGW (a minimal environment for using GNU tools within Windows). Alternatively, you may want something more sophisticated built on MinGW such as Cygwin (a Unix-like environment) or Code::Blocks (an open source windows development environment containing MinGW and the GNU C++ compiler).
 
4
The “++” shorthand programming construct, which is also available in the C language, explains the original naming of the language “C++”. It is a pun which means “like C but one better”.
 
5
There are many open source version control systems such as CVS, Subversion, Mercurial or Git to help you with this. There are also organisations who will host your code repository for you.
 
Literatur
5.
Zurück zum Zitat Cline, M.P., Lomow, G., Girou, M.: C++ FAQs, 2nd edn. Addison–Wesley, Reading (1998) Cline, M.P., Lomow, G., Girou, M.: C++ FAQs, 2nd edn. Addison–Wesley, Reading (1998)
6.
Zurück zum Zitat Meyers, S.: Effective C++, 3rd edn. Addison–Wesley, Reading (2005) Meyers, S.: Effective C++, 3rd edn. Addison–Wesley, Reading (2005)
7.
Zurück zum Zitat Stroustrup, B.: The C++ Programming Language, 3rd edn. AT&T, New York (2000) Stroustrup, B.: The C++ Programming Language, 3rd edn. AT&T, New York (2000)
Metadaten
Titel
Getting Started
verfasst von
Dr. Joe Pitt-Francis
Dr. Jonathan Whiteley
Copyright-Jahr
2012
Verlag
Springer London
DOI
https://doi.org/10.1007/978-1-4471-2736-9_1