This file contains hidden or 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
<?php | |
/* 1. En tu controlador deberás hacer la consulta a tu modelo */ | |
//Controlador | |
function principal(){ | |
$data = array( | |
'ciudades' => $this->miModelo_model->obtenerCiudades() | |
); | |
$this->load->view('miPagina', $data); |
This file contains hidden or 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
Video: | |
H.264 | |
- 30fps | |
Automatic | |
- Medium | |
Best quality | |
Automatic - Data rate | |
Sound: | |
MPEG 4 Low Delay AAC |
This file contains hidden or 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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="en"><head> | |
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> | |
<title>CSS3</title> | |
<style type="text/css"> | |
body{ | |
margin: 0; | |
padding: 0; | |
} |
This file contains hidden or 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 <stdio.h> | |
int main() { | |
int n, i, k, blanco = 1; | |
printf("¿Cuantas filas? "); | |
scanf("%d", &n); | |
blanco = n - 1; | |
This file contains hidden or 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 <stdio.h> | |
int main() { | |
int m, n, c, d, matrix[10][10], trans[50][50]; | |
printf("Ingrese el número de filas y columnas (Ejemplo: 2 5): "); | |
scanf("%d%d",&m,&n); | |
printf("Ingrese los elementos de la matriz (ejemplo 1 30): \n"); | |
for(c=0;c<m;c++){ |
This file contains hidden or 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
/* Conversión de número decimal a número binario */ | |
#include <stdio.h> | |
int main() { | |
int n, c, k; | |
printf("Ingresa el número decimal: "); | |
scanf("%d", &n); | |
This file contains hidden or 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 <stdio.h> | |
int main() { | |
int c, n, fact = 1; | |
printf("Ingrese el numero que desea calcular su factorial: "); | |
scanf("%d", &n); | |
for (c = 1; c <= n; c++) | |
fact = fact * c; |
This file contains hidden or 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 <stdio.h> | |
#define MAX 100 | |
int main() { | |
int total; | |
int vNumeros[MAX]; | |
int j, i, temp; | |
printf ("Cuantos numeros deseas ordenar? "); | |
scanf("%d", &total); |
This file contains hidden or 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 <stdio.h> | |
int main() { | |
char frase[500]; | |
int i, tamano; | |
printf("Ingresa la palabra o frase menor (Máximo 500 caracteres: "); | |
scanf(" %[^\n]", frase); | |
printf("\n"); |
This file contains hidden or 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 <stdio.h> | |
int main() { | |
int calificaciones[50]; | |
char nombre; | |
int total = 0; | |
int aprobadas, reprobadas; | |
int suma = 0, promedio = 0; | |