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 <stdio.h> | |
int main ( int argc, char** argv ) | |
{ | |
int a = 0; //comentario de una linea | |
/* | |
comentario de 3 lineas | |
*/ |
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 <stdio.h> | |
int main (int a, char** b) | |
{ | |
printf("8"); | |
for(int i=0; i<10000000000000000000000; ++i) { printf ("="); } | |
printf("D"); | |
system("PAUSE"); | |
return 0; | |
} |
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 <stdio.h> | |
int main(int argc, char ** argv) | |
{ | |
int jugando = 0; | |
char c; | |
while(jugando == 0) | |
{ | |
int n=0; |
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 <stdio.h> | |
int main (int argc, char ** argv) | |
{ | |
int Rico = 0; | |
unsigned long long Pobre = 1; | |
int n = 31; | |
int i = 0; | |
int DiaD = -1; | |
for(;i<n;++i) |
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 <stdio.h> | |
int main (int argc, char ** argv) | |
{ | |
int n; | |
printf("Ingrese la cantidad de pares numericos (edad/altura): "); | |
scanf("%d",&n); | |
printf("Ingrese uno a uno los pares numericos, separados por una coma. Ejemplo: 24,1.8 siendo 24 los años y 1.8 la altura en metros\n"); | |
int i=0; |
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
/* | |
franqo lizarraga | |
editado por el más genial del universo | |
*/ | |
#include <stdio.h> | |
int main (int a, char** b) | |
{ |
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 <stdio.h> | |
/* | |
Hola nabos (excepto Maca, que es la única aplicada, junto con Ale), | |
ahora les voy a explicar en este único archivo, qué joracas son las | |
funciones y como se declaran, implementan y usan en C. | |
Para declarar una función, siempre se hace de la siguiente forma: | |
tipodedato nombredefuncion ( [parametros1, paramtro2, ...] ); |
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 <stdio.h> | |
int factorial(int a); | |
int main(int argc, char** argv) | |
{ | |
int x; | |
scanf("%d",&x); | |
printf("%d", factorial(x)); | |
return 0; |
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
m_World = new b2World(m_Gravity,m_DoSleep); | |
b2BodyDef bd; | |
//some code here: starts a for loop | |
bd.type = (b2BodyType) f->GetKeyValue<int>("type"); | |
bd.gravityScale = f->GetKeyValue<float>("gravity"); |
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 "Vectores.h" | |
int main(int argc, char**argv) | |
{ | |
printf("Se le pediran 25 numeros positivos, no se apresure e ingrese uno por vez: "); | |
int size=25; | |
int v[size]; | |
leervector(size,v); |
OlderNewer