URGENTE!!!!!

eliel
04 de Marzo del 2004
COMO HAGO UN PROGRAMA QUE RECIBA DATOS DE CUALQUIER TIPO EN C++

noel solw
04 de Marzo del 2004
para simplificar supongamos que quieres recibir dator de tipo : integer, float, char y char array.
entra primero los datos en una variable de la forma
char x[30], revisa a que tipo corresponde x (existen funciones standard de c++ que puedem ayudarte)
y pasa el valor de x a variables del tipo correspondiente (tambien aqui hay funciones standard). Exito ! ! !