This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "leslie.h" | |
int main() | |
{ | |
estudiante e1; | |
cout << "\nCapturando los datos de un estudiante: " << endl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef leslie_h | |
#define leslie_h | |
class persona | |
{ | |
private: | |
int Identidad; | |
public: | |
persona(); // Constructor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include"leslie.h" | |
// Funciones Clase Persona | |
persona::persona() | |
{ | |
int p=0; | |
establecerPersona(p); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main(){ | |
runApp(LeslieDrawerApp()); | |
}//fin de main | |
class LeslieDrawerApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context){ | |
return MaterialApp( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
void main(){ | |
runApp( | |
MaterialApp( | |
debugShowCheckedModeBanner: false, | |
title:'proyecto rectangulo ', | |
home:Scaffold( | |
appBar: AppBar( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "leslie.h" | |
void Animal::cargar_datos(){ | |
cout<<"Ingrese Nombre Del Animal: " <<endl; | |
cin>>nombre; | |
cout<<"Ingrese Raza Del Animal: " <<endl; | |
cin>>raza; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef animal_h | |
#define animal_h | |
class Animal{ | |
public: | |
string nombre; | |
string raza; | |
string NresponsableP; | |
void cargar_datos(); | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
#include "leslie.h" | |
int main() | |
{ | |
Perro Punky; | |
Punky.cargar_datos(); | |
Punky.VerDatos(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include<math.h> | |
using namespace std; | |
#include "leslie.h" | |
void figura::cargar_datos(){ | |
cout<<"ingrese valor de a= "<<endl;cin>>A; | |
cout<<"ingrese valor de b= "<<endl;cin>>B; | |
}//fin de cargar datos |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef leslie_h | |
#define leslie_h_h | |
class figura{ | |
public: | |
double A, B, h; | |
void cargar_datos(); | |
double cuadrado(double x); | |
};//fin de figura |
NewerOlder