
1 - Computers and Computing
To properly understand the design and master the implementation of the C++ programming language, it is necessary to have a general familiarity with the basic computer components and their function, and recognize how instructions are translated into machine language code.
2 - General Features of C++
In this chapter, we explain how to write, compile, and execute (run) a basic C++ program.
3 - Programming in C++
Having illustrated the general structure of a C++ program, we now turn to discussing the basic operators, commands, and logical constructs. Most of these are either identical or similar to those encountered in other languages. However, C++ supports some unconventional and occasionally bizarre operations that require familiarization.
4 - User-Defined Functions
discusses user-defined functions with an emphasis on scientific computing.
5 - Pointers
A pointer is the identification number of a variable or function, assigned by the CPU on execution. A pointer can be used to identify a variable in the memory bank, reserve space for new data, and erase unwanted data to eliminate memory leaks. The implementation of pointers can be simple or subtle depending on the data types considered.
6 - explains the basic principles of object oriented programming (OOP) and the implementation of classes.
7 - Graphics Programming with VOGLE
Discusse the fundamentals of graphics programming based on the Vogle graphics library.
8 - Graphics Programming with GLUT, GLUI, and GTK+
In this chapter, we discuss further concepts of graphics programming based on the commercial-grade Glut, Glui, and Gtk+ utility toolboxes. All three are freely available for a variety of platforms:
• Glut is built on the OpenGL graphics library, which is the industry
standard for a broad range of free software and commercial applications.
• Glui is built on Glut to provide a Graphical User Interface (GUI)
equipped with controls such as buttons, check-boxes, and radio buttons.
• Gtk+ is a popular widget toolbox.
9 - Using Matlab
In this chapter, we explain how Matlab can be called from C++ code for the purpose of using the Matlab mathematical functions and generating graphics. The converse, calling C++ functions from a Matlab code, is also possible, though of limited interest to the C++ programmer.
Download:
Link_1
0 comments: