Apuntes
Sin título
Contenido del apunte (1)
Página 1
Computerprogram
– Data and instructions used to operate a computer
• Programming
– Writing computer program in a language that the
computer can respond to and that other programmers
can understand
• Programminglanguage
– Set of instructions, data, and rules used to construct a
program
• High-level languages
• Low-level languages
Modularprograms
– Segments arranged in logical order to form an
integrated unit
• Module
– Segments of modular program
Examplesofvalididentifiers:
grosspay taxCalc
addNums degToRad
multByTwo salesTax
netPay bessel
Thecoutobjectsendsdatatothestandardoutput
display device
– The display device is usually a video screen
– Name derived from Console OUTput and pronounced
“see out”
• Data is passed to cout by the insertion symbol
– cout << “Hello there, World!”;
EXAMPLE
#include <iostream>
using namespace std;
{
cout << " Hello there world " ;
return 0 ;
}
Información
- Descripción
- Apunte sobre Sin título, creado por david jimenez el 08/03/2017.
- Creado por
- david jimenez
- Visitas
- 0
- Valoración