Ver Mensaje Individual
  #6 (permalink)  
Antiguo 27/11/2012, 16:45
Avatar de zerohours
zerohours
 
Fecha de Ingreso: agosto-2004
Ubicación: San Salvador, El Salvador.
Mensajes: 60
Antigüedad: 19 años, 9 meses
Puntos: 4
Respuesta: llamado de funciones

cout
http://www.cplusplus.com/reference/iostream/cout/

cin
http://www.cplusplus.com/reference/iostream/cin/

Ejemplo:

Código C++:
Ver original
  1. // i/o example
  2.  
  3. #include <iostream>
  4. using namespace std;
  5.  
  6. int main ()
  7. {
  8.   int i;
  9.   cout << "Please enter an integer value: ";
  10.   cin >> i;
  11.   cout << "The value you entered is " << i;
  12.   cout << " and its double is " << i*2 << ".\n";
  13.   return 0;
  14. }

Espero te sirva.