[C con Clase] dudas

luchito tu amigo amigo_love_amor en hotmail.com
Sab Mayo 17 00:52:27 CEST 2008


Saludos a todos los q me ayudaron en anteriores ejercicios.En esta oportunidad quiesiera que expliquen el siguiente codigo en especial lo que esta resaltado con negrita
 
De antemano gracias por la ayuda
 
#include<iostream>using namespace std;#include<conio.h>#include <windows.h>#define FONDO (0)#define AMARILLO (14)main(){    HANDLE hStdInput=INVALID_HANDLE_VALUE,    hStdOutput=INVALID_HANDLE_VALUE;    hStdInput=GetStdHandle(STD_INPUT_HANDLE);    hStdOutput=GetStdHandle(STD_OUTPUT_HANDLE);    SetConsoleTextAttribute(hStdOutput,FONDO|AMARILLO);   double r, a; cout<<"ingrese radio :"; cin>>r;
 a=3.141516*r*r; cout<<"el area es :"<<a<<endl; getch(); return 0;}
_________________________________________________________________
Connect to the next generation of MSN Messenger 
http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-us&source=wlmailtagline
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.conclase.net/pipermail/cconclase_listas.conclase.net/attachments/20080516/d347f0ca/attachment.html>


Más información sobre la lista de distribución Cconclase