Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

mikroC TUTORIAL: 2nd Proyect - Hexadecimal Counter

Loading...

Sign in or sign up now!
14,113
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Apr 28, 2009

donwload link:
http://rapidshare.com/files/226644876/_my_2nd_project_in_mikroC__by_Robo3001.rar

En este 2do videotutorial se muestra:

1.- Tipos de datos.
2.- Como crear ARRAYS.
3.- Como hacer bucles infinitos.

1.- Tipo bytes Rango
(unsigned) char 1 0 .. 255
signed char 1 -128 .. 127
(signed) short (int) 1 -128 .. 127
unsigned short (int) 1 0 .. 255
(signed) int 2 -32768 .. 32767
unsigned (int) 2 0 .. 65535
(signed) long (int) 4 -2147483648 .. 2147483647
unsigned long (int) 4 0 .. 4294967295

2.- Como crear ARRAYS:

a)Primera Forma: variable[cantidad]={ , , , };

unsigned short int datos[9]={0,1,3,4,5,6,7,9,11};

b)Segunda Forma: *variable={, , , };

unsigned short int *datos={0,1,3,4,5,6,7,9,11};
//es igual que en la primera forma.

3.- Como hacer bucles infinitos:

a)Primera Forma:

while(1)
{
sentencias...
}

b)Segunda Forma:

for(;;)
{
sentencias...
}

c)Tercera Forma:

do
{
sentencias...
}while(1);

  • likes, 3 dislikes

Link to this comment:

Share to:

Uploader Comments (robo3001)

  • grACIAS POR TAN INTERESANTE TUTORIAL

  • muchas gracias por tomarte el tiempo en comentar.

    Saludos..¡¡¡

  • gracias por aprecialos

see all

All Comments (8)

Sign In or Sign Up now to post a comment!
  • @Donalexistorres la palabra "data" esta reservada, no se puede usar para crear el arreglo. Hay que usar otro nombre.

  • HOLA DONDE PUEDO ENCONTRAR UN GENERADOR DE CODOGO DE 7 SEGMENTOS

  • Hola me sale un error en la primera linea al compilar el programa

    1 396 Invalid declarator expected'(' or identifier display 7 seg.c

  • hola

    me parecio excelente este tutorial,quisiera preguntarte comparando mikroC y CCS cual es mas optimo.

  • guau estaba buscando algo asi gracias, pero tengo una dudota, como se pasa eso al sistema real a un contador es compatible para pasarlo a uno real

  • muy interesantes sus aportes, gracias desde Colombia.

  • Gracias por compartir conocimientos...

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more